← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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