← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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