Saturday, June 3, 2017

How to write italic and emphasized elements ?

The HTML <i> element defines italic text, without any extra importance.

Example

<i>This text is italic</i>
The HTML <em> element defines emphasized text, with added semantic importance.

Example

<em>This text is emphasized</em>