← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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