← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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