← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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