← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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