← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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