← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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