← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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