← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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