← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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