← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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