← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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