Styling text and background using CSS
As mentioned earlier, CSS can be used for styling and here is a simple demo of styling text. The output of the recipe is given here:

How to do it
The recipe is as follows:
The HTML code:
<html>
<head>
<title>CSS Background Example</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body class="main">
<center>
<table border=1>
<tr class="firstrow">
<td height="200" width="800">
<h1 id="title">CSS Demo</h1>
</td>
</tr>
<tr class="secondrow">
<td height="400" width="800" align="center">
<p>This is a simple demo of CSS exhibiting usage of a tag-specific style and selectors.<br>
The file background.css contains all the styling properties which are applied here on the HTML Page.
</p>
</td>
</tr>
</table>
</center...