← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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