← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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