← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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