CSS

adplus-dvertising
Evolution of Cascading Style Sheet
Previous Home Next

The basic purpose of cascading style sheet(CSS) is to separate the content of web document (which are written in any mark up language)from its presentation (that is written using css). Cascading Style Sheets were developed as a means for creating a consistent approach to providing style information for web documents.

Since the development of SGML (Standard Generalized Markup Language), style sheets were used. Style Sheets start developing from the 1970S, however, later Cascading Style Sheets were created with a purpose of drawing a distinct line between the content of the document and the presentation of the document. Cascading Style Sheets became more popular as the HTML grew along the way.

.CSS evolved in the lights of expert web developers who incorporated their demanding features in it. w3c introduced nine cascading style sheets out of which two became the foundation cascading style sheets.those two style sheets were CHSS (cascading html style sheet) and stream based style sheet proposal (SSP) a language has resemblance to today's CSS. CSS are currently supported by Netscape navigator and Microsoft window3.0 and above.

Benefits of Cascading Style Sheet
  • CSS gives great style to your web pages that are written in any markup language.
  • The main purpose of CSS is to define the presentation of html document.
  • CSS gives you level of control over various presentation characteristics of the document.
  • CSS improve content accessibility, and provide better flexibility.
  • It allows to present HTML and XHTML documents in more than one style.
  • One of the goal of CSS is to allow users control over presentation.
  • Enable multiple page formatting and reduce complexity.

Fast loading of web pages:

CSS-based web pages will speed up the loading of your pages considerably because the styles are all contained in one style sheet.

Small file size:

The page design with CSS are small in size as compared to the HTML pages because mostly all styles are come in one style sheet.

Great Accessibility:

CSS provide very good accessibility, even it provide voice accessibility of HTML and XHTML documents.

Save time:

CSS stores snippets in special file from where they can be easily access to design the web pages. no need to design separate tables .this saves the time of developer.

Reduce complexity:

CSS makes you to get rid of lot of extra html codes, therefore your site looks good and cleaner.this makes it easy to alter the code if you want to edit it.

Separate content from presentation.:

An external style sheet contains all the style that you need to design a web site ,if you need to do change in your web site you just use that pre defined style sheet save in external file.

SYNTAX OF CSS

p  {color: black ; font _size:15px;}

CSS syntax has two main parts one selector and one or two declaration. the selector is normally the html document you want to style and declaration is consists of a property and a value. The property is the style attribute you want to change. each property has a value.

Previous Home Next