← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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