HTML and CSS

Web Design Blog

This is our blog page it is a simple blog page only for viewing.

What is CSS?

Image 03

CSS is a style language that defines layout of HTML documents. For example, CSS covers fonts, colours, margins, lines height, width, bacgrounds images, advanced positions and many other things.

In-Line

Image 02

One way to apply CSS to HTML is by the attribute style. Building on the above example with the red background color.

External

Image 01

The recomended method is to link to a so-called external style sheet. Throughout this we will use this method in our example. An external style sheet is simply a text file with the extension .css. Like any other file, you can place the style sheet on your web server or hard disk.