← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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