← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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