Monday, April 27, 2009

LEARNING CSS

CSS means cascading style sheet.
Definition - Its a set of rules that tells the web browser how to present a web page or document.
how cool? yeah
CSS determines the whole output of a web page.

types of css

1. External css
-Connection made via the link tag.

2. embedded css
3. inline css
Basic css syntax
selector
property
Value
Selector - Its the basic html element tag you wish to define.
- it comprises of tags, class, pseudo and id.
Property -

Values - This is the particular markup value for the attribute.

Advantages of css
  1. It helps web developers to control the style and layout.
  2. Fast loading
  3. Small file size
  4. Reduce clutter - css allow you to get rid of a lot of extraneous HTML codes therefore making your site code neater and cleaner.
  5. Eliminate JavaScript
  6. Saves time and money
  7. Print friendly

No comments: