← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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