← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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