← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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