← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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