← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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