← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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