← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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