← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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