← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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