← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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