Italics in CSS
The font-style
property allows you to make text italic or vice versa - cancel italic. To make text italic, you should add the value italic
, and to cancel italic - the value normal
. See the example:
<p>
This is a paragraph with text.
</p>
p {
font-style: italic;
}
:
Make all h2
headings on your page italic.