← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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