← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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