← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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