← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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