← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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