← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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