← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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