← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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