← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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