Horje
How to create HTML <i> Elements

The HTML <i> element defines a part of text in an alternate voice or mood. The content inside is typically displayed in italic.

Tip: The <i> tag is often used to indicate a technical term, a phrase from another language, a thought, a ship name, etc.


Example of HTML <i> Elements

Followings are two Example. You may follow it.
<p>This text is normal.</p>
<p><i>This text is italic.</i></p>

Full Example of HTML <i> Elements

<i> tag : It is one of the element of HTML which is used in formatting HTML texts. It is used to define a text in technical term, alternative mood or voice, a thought, etc.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<p>This text is normal.</p>
<p><i>This text is italic.</i></p>

</body>
</html>

Output should be:

Full Example of HTML <i> Elements





Category:
Web Tutorial
Sub Category:
HTML Formatting
Uploaded by:
Admin


Read Article
https://horje.com/learn/1434/reference