← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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