CSS allows you to style your web pages just about any way you wish. By style I mean
All of this is done by using attributes (properties) of the particular element, e.g. text properties.
There are several ways you set the style.
<p style="font-size:12;font-family:comic sans ms;"> ... your text ... </p>
The above will cause "... your text ..." to be size 12 in Comic Sans MS font face.
P {font-size:16;font-weight:bold;}
<p> ... your text ... </p>
This will cause "... your text ..." in the paragraph to appear as bold font size 16.
<head>
<style type="text/css">
.blue12 {
font-size:12;
font-family:Comic Sans MS;
}
</style>
Now you can use the class, blue12, style in different HTML tags:
<head>
<style type="text/css">
.#blue12 {
font-size:12;
font-family:Comic Sans MS;
}
</style>
Now you can use the ID, blue12, style in different HTML tags:
NOTE: Individual class and ID names should be unique, i.e. you should not have an .blue12 and a #blue12.
I recommend that you use all class name, e.g. .bluetext, rather than use the ID notation, #.
An excellent CSS reference is w3schools.com.