html italic css code example Example 1: italic css font-style: italic; Example 2: italic in css style= "font-style: italic;"