← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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