What is CSS?
- An easy way to understand the purpose of CSS (Cascading Style Sheets) is to view it as an addition to HTML, XHTML or XML that helps simplify and improve Web page design.
- You will use CSS to define general styling rules about how the elements in your Web pages behave and how they look — where they’re located, their size, their opacity, and so on.
- You can merely refer to a defined CSS rule’s name whenever you want to enforce it within your web page.
- CSS was a technology recommended by the World Wide Web Consortium (W3C) in 1996 to overcome different types of design on web pages.
The CSS has been released in four versions:
Version Description CSS 1
Was released on 17 December 1996. Is a simple style sheet mechanism that allows authors and readers to attach style to HTML documents. CSS 2
Is build on CSS 1 and a style sheet language that allows authors and users to attach style to structured documents (e.g., HTML documents and XML applications). CSS 2.1
Is build on CSS 2 and and is intended to replace CSS 2. Some parts of CSS 2 are unchanged, some parts have been altered and some parts removed. CSS 3
The CSS 3 is the latest standard for CSS and CSS 3 is completely backwards compatible.
- Whether all the CSS specifications will work as specified depends on which browser you are running on which operating system.
- Yet, the most famous browsers running on a known operating system will interpret the most important parts of the CSS specification correctly up to CSS 3.
© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the
correctness in the pages or source codes.
The risk of using this web-site pages or any program
codes from this website is entirely at the individual user.