← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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