← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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