← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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