← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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