← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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