← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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