← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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