← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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