← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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