22.06.2015 Views

o_19octlt3v29m1ul81r9513q81i4ra.pdf

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

112 Chapter 7<br />

To apply italic formatting, use the font-style attribute. The font style can be normal (not<br />

italic), italic, or oblique. Oblique is also called “false italics” because it is a right-tilted<br />

version of normal (non-italic) text. Some fonts have a separate set of characters for italic,<br />

so there is a difference between oblique and italic; for fonts that do not, there is no difference.<br />

Most people prefer to use italic. You can apply italic formatting in a style rule for<br />

paragraphs.<br />

p {font-style: italic}<br />

This rule would make all the text within the document italicized. If you then wanted<br />

make a certain paragraph appear without italic formatting, you might include a style tag<br />

in that paragraph’s tag like this:<br />

This paragraph is not italicized.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!