← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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