← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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