← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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