CSS is commonly known as cascading style sheet. A cascading style sheet is a collection of font, style and color pattern layout for easing the lengthy HTML coding process.
Let is take the example of a bold tag. If you were to apply bold tag you will write Text . This tag will make the text bold. If you were to make text bold at different locations in your web page. You will apply the bold tag every where.
The situation is simple till now. Let us assume a situation where you have to convert all the bold texts to italic. It will become pretty difficult for you to do this. CSS sheet can be used to define a specific style and then apply it throughout. So if you had defined this bold style in a CSS class and applied it in the document. All you had to do was to change the style once and the change would have been implemented throughout the document.
Same is the case with custom headings, paragraph style, fonts and other things. You can define specific backgrounds, table styles, font styles, sizes and colors in your document and then applied it as per your requirement. Use of a cascading style sheet makes it very easy for you to change the look and feel of your document wirth a few minor changes.
Now a days, CSS is used so extensively that no standard website is complete without it. You can create css and keep it in a seperate file and then link it in your main web page . In this way, you can use your cascading style sheets throughout the document.
See also
Wednesday, 18 March 2009
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment