← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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