← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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