← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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