← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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