← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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