Pages

Friday, March 9, 2012

CSS Tutorials


Cascading Style Sheet

Cascading Style Sheet is a markup language used in web document for presentation purpose.
Elements such as text, font, color, can be easily changed and edited in three ways by using:-
External CSS, Internal CSS, Inline CSS.

Need for CSS
  • By combining CSS with HTML considerable amount of flexibility into content submission can be achieved.
  • Separating style from actual content helps in managing large scale complex sites.
  • If CSS is used effectively then Global Style Sheet can be applied effectively.
  • If any small change has to be made in the Web content then CSS makes it convenient.

Basic Structure and Syntax:

Tag
{
property : value
}

For Example:

<p style=”font-family :arial”;>
Here Tag is Paragraph, Property is font family and value is arial.

No comments:

Post a Comment