← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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