← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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