← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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