← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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