← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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