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 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 small code.

3) Its maintenance is very easy as for changing any element we can do editing at only one place.

4) It gives 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

Ebook Download
View all
Learn
View all