← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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