← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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