← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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