← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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