← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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