← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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