← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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