← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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