← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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