← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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