CSS

CSS3 logo

Updated:

|

Published:

CSS stands for Cascading Style Sheet. It is used to apply style to HTML documents. CSS is one of the three base technologies of the World Wide Web. The other two being HTML and JavaScript. It was developed by the World Wide Web Consortium (W3C). The latest implementation supported by browsers is CSS3.

What is CSS?

A CSS document is basically a text document that contains a set of rules that tells browsers how to format the elements on an HTML page.

CSS Rules

A CSS rule consists of a selector that specifies the element to which a style must be applied and a declaration that declares which style to apply.

CSS Declarations

A CSS declaration consists of a property and a value. There many CSS properties that can be set, including properties for positioning and sizing elements, properties for setting an elements font and colour, and many more.

Top