Defines the properties for a paragraph element.
Browser/User Agent Support
| IE | Netscape | Mozilla | Opera | Safari |
|---|---|---|---|---|
| 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Example
This example sets the font family and size for paragraph text and adds padding to bottom of a paragraph:
p {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
padding-bottom: 3px;
}
Remarks
Setting the font characteristics for your "p" elements will also set those characteristics for elements such as "b", and "i" that will inherit attributes such as "font-family" from the parent "p" tag.


