← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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