← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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