← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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