Logo
HTMLCSSJavaScriptReactjsnewContactUpdates

Get started today

HTMLCSSJavaScriptReactjsnewContactUpdates

Tools

Resume BuilderQR GeneratorVS Code Editor

Connect

GitHubWhatsApp Channel
attributes
text formatting tags

HTML Comments

By Saket Bhatnagar•June 14, 2025•Beginner to Intermediate

Table of Contents

  1. comments

comments

  1. 1Comments are used to document the source code.
  2. 2Comments are not displayed on the browser.
  3. 3They are useful for providing explanations for yourself or other developers who may work on the code in the future.
  4. 4Comments are not for the user.
  5. 5HTML comments are written within the <!-- and --> tags.
  6. 6Anything between <!-- Comment --> tags will be ignored by the browser and will not be displayed on the web page. 

Share this article

Last updated: July 14, 2025

Join Our Community

Login to Join

© 2025 Saket Bhatnagar. All rights reserved.

    ☕