← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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