← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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