← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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