← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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