← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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