← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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