Tuesday, August 31, 2010

csstutorialz-2: CSS or Cascading Style Sheet

What is CSS?
  • CSS is an acronym for Cascading Style Sheets. It is a series of instructions which specify how a text should appear on a web page.
  • The designing of the text can be done by defining fonts, colors, margins, background, font sizes etc. These elements like colors, sizes, fonts, and spacing constitute "styles".
  • CSS consists of style sheets that tell a browser how a document would be presented.
  • New features in the old web page can also be added with the help of style sheets.
  • When using CSS, you don't need to apply font, color or size for every paragraph, or every page in the document. Once you create a style sheet, you can save the code once and re-use it as often as required.
Benefits of Using CSS:
  • CSS brings uniformity to web pages.
  • CSS saves you a lot of time and repetitive work. When using CSS, changes need not be made in every web page. You just have to make changes in the style sheet.
  • CSS enables you to load your web pages easily.
  • Layers, like pop-up menu items, can be used in a document.
  • CSS helps you maintain your web pages easily and effectively.
In the next post you will visually see how HTML and CSS are ralated to each other.

No comments:

Post a Comment