← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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