← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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