← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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