← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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