← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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