← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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