← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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