← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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