← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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