← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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