← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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