← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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