CSS Bold And Italic Fonts

To make your text italic, you use the code:

p {font-style: italic}

To make your text bold, you use the code:

p {font-weight: bold}

*Notice how each one of these differs with the words font-style for italic, and font-weight for bold. These are easy to get mixed up sometimes.

To change the fonts of all p tags with a specific class name, use the code:
p.class {font-style: italic}, where class is the class name that you've given to some of your paragraphs

To change the fonts of all p tags with a specific identifier name, use the code:
p#class {font-style: italic}, where identifier is the identifier name that you've given to one of your paragraph.

Next: CSS Line Spacing

Template Design | Elque 2007