← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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