← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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