← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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