← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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