← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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