← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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