← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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