mkaz.com home photography web dev personal about

CSS Tutorial : What are Style Sheets?

Introduction

Cascading Style Sheets (CSS) are text files, or special text in a HTML file, which allows you to specify styles, attributes, and positioning of HTML objects.

Style is what gives an item its distinctive look or feel. For text it could be what font is used, what color, size, or spacing. It also applies to other HTML objects such as links, images, backgrounds, margins and borders.

How can I benefit by using CSS?

Some of the benefits to using CSS are more consistency, better layout and visual design, plus easier HTML coding. Also you can do things with style sheets that could never be done before.

One of the best features of style sheets is its ability to degrade nicely with older browsers.Most CSS styled documents still appear perfectly readable and functional when viewed in browser that does not support style sheets. It may not look as nice, but the content is still there.


Next Page: Specifying the Style