← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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