← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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