← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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