← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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