← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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