← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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