← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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