← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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