← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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