← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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