← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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