← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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