← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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