← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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