Comments in CSS3

Comments in our css3 are used for the understanding of our css code . The comments does not displayed in output. They are just create for easiness in understand in the code to read it update it or check it again.

The syntax of comment

/*      comment syntax     */

This syntax is used for both single line and multiple line comments in css.

Advantages of comments.

Comments play an important role in programming. They make the code easy to understand.For example if in some office programmer makes a project and give its documentations to another programmer.Without comments in the projects it will be really very difficult for the other programmer to understand its documentation.And comments also not shown in the out put so there is no chance to make interruption in the expected out put of the code.


Advantages of CSS

Some advantage of css are mentioned below.
1)  Firt advantage of css is, It saves your time because you can reuse one file of css in html in many files.
2) Second advantage of css is, It has less load on page. That is the reason of css is mostly used in web designing.
3) Another advantage of css is, It is very easy to maintain a css coded file.
4) Another advantage of css is, It is used to make an html file more attractive than just html coded file.
5) Another advantage of css is, It is has the ability of Multiple Device Compatibility. 6) Another advantage of css is It is now being being recommended to use CSS to make an html file responsive.








The Best

Comment here

If you have any query, if you want to know something about any of technical course related to computer science field, if you have any suggestion about relevant to uploaded content or if you anything wrong here (any mistake in content) than please contact us. Keep in mind, comment should be according to community guidelines.