← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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