← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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