← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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