← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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