← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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