← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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