An Introduction to CSS (Cascading Style Sheets)

CSS, also known as cascading style sheets, allows you to style (X)HTML. In other words, it allows you to specify how web page will be displayed on web browsers.

CSS allows you to specify the style and layout of multiple web pages at once, by only making changes to a single file.

Before you begin learning CSS, you should be familiar with (X)HTML.

What Software Do I Need to Learn CSS?

You only need a text editor and a web browser to learn CSS, both of which can be had for free.

When you first start out learning CSS, it is best to use a simple (and free) editor such as notepad. The reason is that other more advanced editors may add code to your to your files, complicating the learning process.

You can use any web browser that you like, for example: FireFox, Internet Explorer, Chrome, Opera and more.

Cascading Order

CSS rules "cascade" into one stylesheet in the following order.

  1. default web browser setting
  2. external style sheet
  3. internal style sheet (located in the <head> section)
  4. inline style (inside (X)HTML elements)

So, an inline element has the highest priority, followed by internal styles, followed external styles and if no style is specified for a particular element, the default web browser style is applied.

Web Hosting Resources

Free Website Templates