← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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