Even though web browsers have the <em> and <i> tags for italicizing, but textual elements on a web page can be italicized by CSS by using the font-style property. The font-style property takes following values
Value |
Description |
normal |
The browser displays a normal font style. |
italic |
The browser displays an italic font style |
oblique |
The browser displays an oblique font style |
The font-style property has the value of ‘normal’ as the default value for all the elements on a web page. They are used as
p{ font-style: italic; }
p {font-style: normal; }
p {font-style: normal; }