Thursday, April 23, 2009

CSS - The three Bigs

In Meta Data Section of HTML portion, where you include external referral code for styling or adding user behavior to the website, You can use CSS code in following three ways which is called the three bigs CSS documents.
  1. Inline CSS / Inline Styles
  2. Embedded CSS / Embedded Styles
  3. External CSS / External Styles
1) Inline CSS / Inline Styles
Inline styles are styles that are written directly in the tag on the document. Inline styles affect only the tag they are applied to


2) Embedded CSS / Embedded Styles
Embedded styles are styles that are written in a similar document within style tag under head tag Embedded styles affect only the page / document where they are applied to


3) External CSS / External Styles
External styles are styles that are written in a separate document and then attached to various Web documents. External style sheets can affect any document they are attached to
Reblog this post [with Zemanta]

No comments:

Post a Comment