← Links with a href lesson New set →

HTML Worksheet: Links a href

HTML and CSS lesson 6: Links with a href · Set 483 · 40 questions
TalentJR

Code tip (Where and what): A link is <a href="address">words to click</a>. href holds where it goes; the text between the tags is what you click. target="_blank" opens the link in a new tab.

NameDateTime takenScore ___ / 40
  1. 1.🔗 What does target="_blank" do to a link? (a) opens it in a new tab (b) makes it bold (c) hides the link (d) makes it blank
  2. 2.🔗 Which words do you click on?
    <a href="games.html">Maths fun</a>
    (a) Art corner (b) href (c) games.html (d) Maths fun
  3. 3.🔗 Which words do you click on?
    <a href="contact.html">Art corner</a>
    (a) Art corner (b) School news (c) href (d) contact.html
  4. 4.🔗 Which words do you click on?
    <a href="quiz.html">Play games</a>
    (a) About us (b) quiz.html (c) href (d) Play games
  5. 5.🔗 Where does this link open?
    <a href="about.html">Visit the site</a>
    (a) in the same tab (b) in a new tab
  6. 6.🔗 Which tag makes a clickable link? (a) <img> (b) <p> (c) <a> (d) <link>
  7. 7.🔗 Which address opens when you click this link?
    <a href="about.html">Play games</a>
    (a) Play games (b) https://example.com (c) contact.html (d) about.html
  8. 8.🔗 Which words do you click on?
    <a href="https://example.com">Contact us</a>
    (a) Visit the site (b) href (c) Contact us (d) https://example.com
  9. 9.🔗 Where does this link open?
    <a href="contact.html" target="_blank">Contact us</a>
    (a) in a new tab (b) in the same tab
  10. 10.🔗 Which address opens when you click this link?
    <a href="art.html">Take the quiz</a>
    (a) Take the quiz (b) art.html (c) quiz.html (d) news.html
  11. 11.🔗 Where does this link open?
    <a href="about.html">Take the quiz</a>
    (a) in the same tab (b) in a new tab
  12. 12.🔗 Which address opens when you click this link?
    <a href="maths.html">Play games</a>
    (a) maths.html (b) news.html (c) art.html (d) Play games
  13. 13.🔗 Which address opens when you click this link?
    <a href="maths.html">Take the quiz</a>
    (a) maths.html (b) news.html (c) art.html (d) Take the quiz
  14. 14.🔗 Which words do you click on?
    <a href="art.html">Maths fun</a>
    (a) art.html (b) Maths fun (c) Art corner (d) href
  15. 15.🔗 Which code links to about.html? (a) <a href="about.html"> (b) <link about.html> (c) <a src="about.html"> (d) <a alt="about.html">
  16. 16.🔗 Where does this link open?
    <a href="news.html" target="_blank">School news</a>
    (a) in a new tab (b) in the same tab
  17. 17.🔗 Which words do you click on?
    <a href="about.html">Play games</a>
    (a) Play games (b) about.html (c) About us (d) href
  18. 18.🔗 Which words do you click on?
    <a href="about.html">Visit the site</a>
    (a) href (b) about.html (c) Visit the site (d) Maths fun
  19. 19.🔗 Which address opens when you click this link?
    <a href="games.html">Take the quiz</a>
    (a) games.html (b) Take the quiz (c) about.html (d) contact.html
  20. 20.🔗 Which words do you click on?
    <a href="news.html">School news</a>
    (a) Take the quiz (b) href (c) news.html (d) School news
  21. 21.🔗 Which attribute holds the address of a link? (a) id (b) alt (c) src (d) href
  22. 22.🔗 Which words do you click on?
    <a href="quiz.html">About us</a>
    (a) Contact us (b) href (c) quiz.html (d) About us
  23. 23.🔗 Which words do you click on?
    <a href="quiz.html">Contact us</a>
    (a) Visit the site (b) href (c) Contact us (d) quiz.html
  24. 24.🔗 Which address opens when you click this link?
    <a href="news.html">Maths fun</a>
    (a) quiz.html (b) news.html (c) games.html (d) Maths fun
  25. 25.🔗 Where does this link open?
    <a href="maths.html">Take the quiz</a>
    (a) in a new tab (b) in the same tab
  26. 26.🔗 Which words do you click on?
    <a href="maths.html">About us</a>
    (a) Contact us (b) href (c) maths.html (d) About us
  27. 27.🔗 Which address opens when you click this link?
    <a href="about.html">School news</a>
    (a) about.html (b) https://example.com (c) contact.html (d) School news
  28. 28.🔗 Which words do you click on?
    <a href="about.html">About us</a>
    (a) About us (b) about.html (c) Contact us (d) href
  29. 29.🔗 Which address opens when you click this link?
    <a href="maths.html">Contact us</a>
    (a) Contact us (b) art.html (c) maths.html (d) news.html
  30. 30.🔗 Where does this link open?
    <a href="quiz.html" target="_blank">School news</a>
    (a) in the same tab (b) in a new tab
  31. 31.🔗 Where does this link open?
    <a href="news.html">Take the quiz</a>
    (a) in a new tab (b) in the same tab
  32. 32.🔗 Which words do you click on?
    <a href="https://example.com">Take the quiz</a>
    (a) https://example.com (b) Play games (c) href (d) Take the quiz
  33. 33.🔗 Where does this link open?
    <a href="contact.html">Contact us</a>
    (a) in a new tab (b) in the same tab
  34. 34.🔗 Where does this link open?
    <a href="quiz.html" target="_blank">Art corner</a>
    (a) in the same tab (b) in a new tab
  35. 35.🔗 Which address opens when you click this link?
    <a href="games.html">Art corner</a>
    (a) Art corner (b) games.html (c) contact.html (d) about.html
  36. 36.🔗 Which words do you click on?
    <a href="news.html">Art corner</a>
    (a) news.html (b) href (c) School news (d) Art corner
  37. 37.🔗 Where does this link open?
    <a href="https://example.com">School news</a>
    (a) in a new tab (b) in the same tab
  38. 38.🔗 Which address opens when you click this link?
    <a href="quiz.html">Art corner</a>
    (a) about.html (b) games.html (c) Art corner (d) quiz.html
  39. 39.🔗 Which words do you click on?
    <a href="about.html">Maths fun</a>
    (a) about.html (b) Art corner (c) Maths fun (d) href
  40. 40.🔗 Which address opens when you click this link?
    <a href="contact.html">Contact us</a>
    (a) contact.html (b) Contact us (c) https://example.com (d) maths.html

Answer key

  1. opens it in a new tab
  2. Maths fun
  3. Art corner
  4. Play games
  5. in the same tab
  6. <a>
  7. about.html
  8. Contact us
  9. in a new tab
  10. art.html
  11. in the same tab
  12. maths.html
  13. maths.html
  14. Maths fun
  15. <a href="about.html">
  16. in a new tab
  17. Play games
  18. Visit the site
  19. games.html
  20. School news
  21. href
  22. About us
  23. Contact us
  24. news.html
  25. in the same tab
  26. About us
  27. about.html
  28. About us
  29. maths.html
  30. in a new tab
  31. in the same tab
  32. Take the quiz
  33. in the same tab
  34. in a new tab
  35. games.html
  36. Art corner
  37. in the same tab
  38. quiz.html
  39. Maths fun
  40. contact.html

Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids