← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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