← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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