← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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