← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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