← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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