← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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