← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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