← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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