← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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