← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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