← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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