Cascading Style Sheets (CSS) is a style standard declared by the W3C consortium. Term cascading indicates the possibility of a merger various types styles and inheritance of styles by internal tags from external ones.
CSS is a language that contains a set of properties to define the appearance of a document. The CSS specification defines the properties and descriptive language for communicating with HTML elements.
CSS is an abstraction in which appearance A Web document is defined separately from its content.
Some styles are not supported by all browsers. However, you can assign any styles, because unsupported styles will simply be ignored.
You may also need:
Based on the methods of adding styles to a document, there are three types of styles.
Internal styles
Internal styles are defined by the attribute style specific tags. An internal style only affects elements defined by such tags. This method differs little from traditional HTML.
Example
Paragraph with blue text
RESULT:
Paragraph with blue text
Paragraph with red text
You should not use internal styles too often, since then the Web document becomes overloaded with code and its appearance is difficult to change.
Global styles
Global CSS styles are located in the container , located in turn in the container ... .
Attribute type="text/css", previously required for the tag .........
Gray text color in all paragraphs of the web page