Welcome to HTML5-Tutorials

Our site offers a lot of HTML5 learning from absolutely beginning to advanced level.If you want to make a website with HTML,this site will completely guide you a lot.So learn HTML5 syntax and form of coding easily with this website.If you have any doubt,leave a message on us.We will return you so soon.This site includes innumerable number of references you need to do after studying their corresponding elements.

In this page,we will learn about HTML <i> tag.

Use of <i> tag

The <i> tag defines a part of text having italic font-style in an HTML page.

Display:Inline

Example of <i> tag

    <i> Football </i> is my favorite game.

Supported Browsers.

Tag
<i> Yes Yes Yes Yes Yes

Full Code Example

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p> <i> Football </i> is my favorite game.</p>
<p> <i> Red </i> is my favorite color.</p>
</body>
</html>

Output

Football is my favorite game.

Red is my favorite color.

More Reference


Don't be confused about the using of <em> tag and <i> tag.The <em> tag is used to define emphasized texts in which the word has somewhat internal meaning while the <i> tag is used only for styling the texts in italic style.

Default CSS properties of <i> element

i {
font-style:italic;
}