← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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