← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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