About CSS

About CSS 

 
Introduction to CSS:- CSS(Cascading style sheets) is a  language that we can use in HTML. It is used to indicate styles for any element that is present in HTML. We can set styles through the use of CSS properties. For eg:- font properties such as colors, size, background styles etc can be set. 
 
Advantages
 
1) It saves time as earlier we have to specify properties such as font size, style, etc for every page. But when CSS is used we can specify these attributes only once.
 
2) It downloads everything faster as it contains a small code.
 
3) Its maintenance is very easy as for changing any element we can do editing at only one place.
 
4) It gives a rich set of styles for HTML document so that we can have good control over the layout of webpages.
 
Disadvantages
 
Different browsers have different levels of support for CSS
Next Recommended Reading Pixel vs Em in CSS