← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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