← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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