CSS comments
Single Line comment
To comment in CSS, simply place your plain text inside /* */ marks. This tells the browser that they are notes and should not be rendered on the front end.
div {
color: red; /* This is a CSS comment */
}
Multiple Line comment
The /* */ comment syntax is used for both single and multiline comments. There is no other way to specify comments in external style sheets. However, when using the <style> element, you may use <!
/*
This
is
a
CSS
comment
*/
div {
color: red;
}