← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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