← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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