Comments are the statements in your code that are ignored by the compiler and are not executed. Comments are used to explain the code. They make the program more readable and understandable.
/* content */
Comment can be single line or multi-line.
Note: The outputs are the same because comments are ignored by the browser and are not interpreted.
Example 1: This example describes the single line comment.
Example 2: This example describes the multi-line comment.
Supported Browsers: The browsers supported by CSS | Comments are listed below:
- Google Chrome
- Internet Explorer
- Apple Safari
- HTML | Comments
- SASS | Comments
- How to block comments in YAML ?
- How to write comments in HTML ?
- How to override the CSS properties of a class using another CSS class ?
- Difference between bootstrap.css and bootstrap-theme.css
- CSS Float
- CSS | Selectors Complete Reference
- CSS | Margins and Padding
- CSS | table-layout Property
- CSS | text-align Property
- CSS | border-top-width Property
- Making a div vertically scrollable using CSS
- CSS | Percentage Value
- What is the difference between “word-break: break-all” versus “word-wrap: break-word” in CSS ?
- How to hide an element when printing a web page using CSS?
- CSS | :root Selector
- CSS | :not Selector
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.