← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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