← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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