← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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