← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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