← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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