← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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