← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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