← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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