← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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