<!DOCTYPE html>
<html>

<head>
  <title>CSS Example</title>
  <style>
    body {
        color:#000000;
        background-color:#ffffff;
        font-family:arial, verdana, sans-serif; 
        font-size:12px;}

    span.color   {color:#FF0000;}
    span.bgcolor {color:white; background-color:red}
  </style>
</head>

<body>
<h1>color</h1>
<h3>You can use a predefined color name, or color value using hexadecimal (e.g. #C3B2A1)</h3>
<hr>

<p>This is a normal font, but then <span class="color">there is some writing in red here</span> in the middle.</p>
 
<p>This is a normal font, but then <span class="bgcolor">there is some background color</span> in the middle.</p>
</body>
</html>