← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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