← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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