WEB DEVELOPMENT — In CSS (Cascading Style Sheets), `/* */` is used to denote a comment in HTML codes. A comment is text that is ignored by the browser when it renders the page.
It is used as a way to add notes or explanations within the code to help developers better understand what the code is doing.
HTML Comments are helpful for other developers who may need to read or modify your code in the future, and they can be used to temporarily disable a section of code without deleting it.
The Comments can span multiple lines or only a portion of a line, and they cannot be nested.
* For more understanding about CSS, consult a certified web developer.
Share Your Thoughts