Advanced Java and Web Technologies for JNTUK
Blog providing beginner tutorials on different web technologies like HTML, CSS, Javascript, PHP, MYSQL, XML, Java Beans, Servlets, JSP and AJAX

28/01/2014 Categories: CSS. No Comments on Introduction to CSS

css logo


Cascading Style Sheets is a style sheet language for specifying style information of different elements in a web page. A style sheet is a document which contains style information specified as a set of rules for rendering the content on a web page. The style rules follow a specific format. CSS is one of the languages for specifying the rules in a style sheet document.


The term cascading in CSS means that several style sheets can be blended or combined to render a web page in a browser. We can specify CSS rules in multiple documents and link to them from a single web page.


Advantages of CSS


  1. Separates the presentation code (CSS) from the content of the document specified using markup (HTML or XHTML).
  2. Makes it easier for CSS developers to change the presentation of the elements.
  3. Makes it easier to provide different look and feels by simply changing the link to the style sheet at runtime.
  4. Reduces development time of web pages.
  5. Faster page load (response time) due to the caching of style sheet by the browser.




History of CSS


CSS was developed by Wium Lie and Bert Bos and the first version CSS1 was released as a recommendation by W3C (World Wide Web Consortium) in 1996. Next version CSS2 was published in 1998. CSS2.1 which is a revision of CSS2 was published in 2011.


After CSS2 was published, different features in CSS2 were divided into documents called modules and work on CSS level 3 started separately for each module and is in progress. Although there is no single monolithic CSS4 version, some modules transitioned from level 3 to level 4 while the remaining are in level 3.

Related Links:

Note: Do you have a question on this article or have a suggestion to make this article better? You can ask or suggest us by filling in the below form. After commenting, your comment will be held for moderation and will be published in 24-48 hrs.

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll Up