← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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