← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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