← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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