CSS Cascading Style Sheets for Websites

34SP.com Staff

7 years ago

Cascading Style Sheets or CSS is a language associated with HTML and DHTML web pages. CSS is a type of style sheet language which helps in the description of formatting and the look of the documents, written in mark-up languages such as HTML. Cascading Style Sheets are often used to style XML, HTML or DHTML web pages. There are three primary aspects of CSS: placement, styles, and the ability to cascade.

CSS Syntax

The syntax in CSS is quite simple. CSS makes use of several English keywords for specifying the names of the different types of style properties.

Besides allowing the user to position HTML elements, CSS Positioning properties can also be used to keep elements behind one another. The four main methods of positioning include Static Positioning, Fixed Positioning, Relative Positioning, and Absolute Positioning.