← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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