← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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