Logo
HTMLCSSJavaScriptReactjsnewResourcesContactUpdates
Join

Get started today

HTMLCSSJavaScriptReactjsnewResourcesContactUpdates

Tools

Resume BuilderQR GeneratorVS Code Editor

Connect

GitHubWhatsApp Channel
attributes
text formatting tags

HTML Comments

By Saket Bhatnagar•February 21, 2026•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: March 21, 2026

Saket Bhatnagar

I build products, share the playbooks, and pass along everything I learn so you can ship faster.

GitHubLinkedInYouTubeWhatsApp Channel

Quick Links

  • Updates
  • Resources
  • Resume Builder
  • Contact

WhatsApp

Builders Group

Real-time notes from my builds, weekend challenges, and accountability threads.

Shipping Notes Channel

Launch alerts + bite-sized lessons.

© 2026 Saket Bhatnagar. All rights reserved.

Always building, always learning.