html p tag make italic code example Example 1: html italic text <i>This text will be in italics</i> Example 2: how to italicize in html <i>this is italic</i>