← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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