← Links with a href lesson New set →

HTML Worksheet: Links a href

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

Answer key

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

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