← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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