← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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