← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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