← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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