← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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