← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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