← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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