← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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