← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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