← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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