← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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