← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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