Logo
HTMLCSSJavaScriptReactjsnewContactUpdates

Get started today

HTMLCSSJavaScriptReactjsnewContactUpdates

Tools

Resume BuilderQR GeneratorVS Code Editor

Connect

GitHubWhatsApp Channel
types of css
css selectors

CSS Comments

By Saket Bhatnagar•June 15, 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: July 15, 2025

Join Our Community

Login to Join

© 2025 Saket Bhatnagar. All rights reserved.

    ☕