← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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