← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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