← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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