Comments Syntax In CSS

A comment is a text within HTML, CSS or in other programming languages that is ignored by web browser. It is in the code to provide information about the code or to temporarily disable a section of code or to provide other feedback from the code developer. Commented code makes it easier for code to be transferred from one team member to another. A CSS comment begins with “/*”, and ends with “*/”. Comments can appear before or within rule sets as well as across multiple lines. For example:

You may also be interested to learn about display shortcode in templates, wrap images in div and use different single template per category.


Comments are closed.

Post Navigation