← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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