← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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