← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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