← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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