← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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