← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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