← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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