← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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