← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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