← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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