← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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