← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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