← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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