← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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