Quick Links
About CSS : Cascading Style Sheets, fondly referred to as Css is a simple design language intended to simplify the process of making web pages presentable.
CS S is used along with HTML and JavaScript in most websites to create user interfaces for web applications and user interfaces for many mobile applications.
CS S is easy to learn and understand but it provides powerful control over the presentation of an HTML document. Most commonly, CS S is combined with the markup languages HTML or XHTML.
Advantage’s
Css saves time: You can write CS S once and then reuse same sheet in multiple HTML pages. You can define a style for each HTML element and apply it to as many Web pages as you want.
Pages load faster: If you are using CS S, you do not need to write HTML tag attributes every time. Just write one CS S rule of a tag and apply it to all the occurrences of that tag. So less code means faster download times.
Easy maintenance: To make a global change, simply change the style, and all elements in all the web pages will be updated automatically.
Superior styles to HTML : Css has a much wider array of attributes than HTML, so you can give a far better look to your HTML page in comparison to HTML attributes.
Multiple Device Compatibility : Style sheets allow content to be optimized for more than one type of device. By using the same HTML document, different versions of a website can be presented for handheld devices such as PDA’s and cell phones or for printing.
Global web standards : Now HTML attributes are being deprecated and it is being recommended to use Css. So it’s a good idea to start using CS S in all the HTML pages to make them compatible to future browsers.
Platform Independence: The Script offer consistent platform independence and can support latest browsers as well.
How to use Css:
i) You can add new looks to your old HTML documents.
ii) You can completely change the look of your website with only a few changes in Css code.
Version of Css:
Cascading Style Sheets level 1 (CSS1) came out of W3C as a recommendation in December 1996. This version describes the Csslanguage as well as a simple visual formatting model for all the HTML tags.
CSS2 became a W3C recommendation in May 1998 and builds on CSS1. This version adds support for media-specific style sheets e.g. printers and aural devices, downloadable fonts, element positioning and tables.
CSS3 is the latest standard for Css.CSS3 is completely backwards-compatible with earlier Css versions.
Recommended Posts: