← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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