← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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