← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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