← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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