← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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