← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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