← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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