← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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