← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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