← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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