← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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