← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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