← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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