What is CSS?
CSS is an acronym for Cascading Style Sheets. It is a style language that defines layout of HTML documents. For example, CSS covers fonts, colors, margins, lines, height, width, background images, advanced positions and many other things.
HTML can be (mis-)used to add layout to websites. But CSS offers more options and is more accurate and sophisticated. It is also supported by all browsers today.
- control layout of many documents from one single style sheet;
- more precise control of layout;
- apply different layout to different media-types (screen, print, etc.);
- numerous advanced and sophisticated techniques
The language can be applied to any XML document, including plain XML, SVG and XUL