← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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