← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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