← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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