← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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