← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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