← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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