← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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