← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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