← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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