Which is the correct syntax to include comment in an HTML document?

3. Which is the correct syntax to include comment in an HTML document?

  1. //
  2. /* Comment */
  3. // Comment //
  4. <!-- Comment -->

Answer: D) <!-- Comment -->

Explanation:

You can add comments to your HTML source by using the following syntax,

<!-- Write your comments here -->

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.