← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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