← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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