← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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