← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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