← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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