← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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