← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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