← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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