css italic text style code example Example 1: css italics .my_italic_class{ font-style: italic } Example 2: italic in css style= "font-style: italic;"