← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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