← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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