← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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