← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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