← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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