RSS Element,demiblog Class,Language,Link,Title,Description channel,,en_GB,http://tobyinkster.co.uk/article/html-tutorial-3/,Chapter 3: Adding Some Style,"====

So now you know how to make a basic web page. When writing the page, we focused on structure — how the page was divided up into its various parts (headings, paragraphs, etc) — but not on style.

In this chapter we’ll focus on how to apply style to your page, but without even changing the HTML!

Applying A Basic Style

Right now, our page looks something like this:

You’ll remember that one of the lines in the HTML file said this:

<link rel="stylesheet" href="style.css">

So we shall now create a file called style.css and add some formatting instructions to it.

body {        font-family: Arial, Helvetica, “Sans Serif”;
background-color: white;
color: black;
font-size: 12px; }
h1 {…"