← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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