← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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