← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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