← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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