← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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