← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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