← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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