← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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