What does Cascading Style Sheet do ?
Cascading Style Sheets, or CSS, controls presentation of a web page.
1. CSS Styling and formatting of web page is separate from the content.
2. Using CSS results in significant saving in bandwidth. Since the style sheet is cached after the first request and can be reused for every page on the site i.e. reloading of styling for every page is not required.
3. Different CSS styling rules can be used for different output media. like for Screen, printer .
Cascading Style Sheet Versions
The first Cascading Style Sheet specification to become an official W3C Recommendation is CSS level 1, published in December 1996.
The W3C no longer maintains the CSS1 Recommendation.
Cascading Style Sheet level 2 was published as a Recommendation in May 1998 by the W3C.
It was revised to remove several implementation problems in CSS level 2 with version 2 revision 1 or CSS 2.1. it was set to recommendation status on 19 July 2007.
Cascading Style Sheet level 3 is under development since December 15, 2005.
Learn with our CSS ( Cascading Style Sheet ) tutorial to control various styling option for HTML web page
1. You should have basic understanding of HTML
2. Also you should understand certain CSS styling may appear differently in different browsers.
Index of CSS Tutorial
- Chapter 1 – CSS Syntax
- Chapter 2 – CSS Class and ID
- Chapter 3 – How to use CSS
- Chapter 4 – CSS Styling text
- Chapter 5 – More CSS text styling options
- Chapter 6 – CSS and Borders
- Chapter 7 – Controlling white space with CSS Box Model
- Chapter 8 – Positioning elements with CSS
- Chapter 9 – Styling Pseudo Classes
Chapter 10 – Pseudo Elements
Chapter 11 – Image Handling