← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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