← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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