Saturday, May 5, 2012

CSS Beginner Tutorial 1 : What is CSS


CSS stands for Cascading Styles Sheets, It is a way to style HTML elements. Whereas the HTML is the content, the style sheet is the presentation of that document. Styles don't smell or taste anything like HTML, they have following  format
'property: value' 
For example 
color : blue
It applys to HTML tag as follow:
<p style="color:blue">The sun rises in the east.</p>
There are many properties, which can be applied to HTML tags, to present HTML in different ways.
There are three ways, which can be used to apply CSS to HTML tags, These are:
  1. In-line
  2. Internal
  3. External
We discuss these ways in details in next tutorial.

No comments:

Post a Comment