← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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