← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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