← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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