← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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