← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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