← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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