Logo
HTMLCSSJavaScriptReactjsnewResourcesContactUpdates
Join

Get started today

HTMLCSSJavaScriptReactjsnewResourcesContactUpdates

Tools

Resume BuilderQR GeneratorVS Code Editor

Connect

GitHubWhatsApp Channel
types of css
css selectors

CSS Comments

By Saket Bhatnagar•December 20, 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 webpage.
  3. 3

    Syntax:-

    1/* This is a single-line comment */
    2
    3/*
    4 This is a multi-line comment
    5 that can span multiple lines.
    6*/

Share this article

Last updated: January 20, 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.

© 2025 Saket Bhatnagar. All rights reserved.

Always building, always learning.