← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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