← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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