← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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