← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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