← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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