i tag in html code example
Example 1: what does i tag do in html
The <i> tag defines a part of text in an alternate voice or mood. The content inside is typically displayed in italic. The <i> tag is often used to indicate a technical term, a phrase from another language, a thought, a ship name, etc.
Example 2: html i tag
<p>This text is not italic</p><i>This text is italic</i>