← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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