← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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