HTML <i> Tag

HTMLWeb DevelopmentFront End Technology

The <i> tag in HTML is used to set a part of text as italic. The usage of <i> tag should only be considered if you do not have the following semantic elements − <em>,<strong>, <mark>, etc.

Let us now see an example to implement the <i> tag −

Example

 Live Demo

<!DOCTYPE html>
<html>
<head>
<title>HTML i tag</title>
</head>
<body>
   <h1>
      Products
   </h1>
   <p>The products includes Clothing, Accessories and Furniture to be delivered by <i>FDX</i> couriers.</p>
</body>
</html>

Output

In the above example, we have used a <p> tag to add content −

<p>The products includes Clothing, Accessories and Furniture to be delivered by <i>FDX</i> couriers.</p>

We have set the <i> tag above −

<i>FDX</i>
raja
Published on 18-Jun-2019 11:35:32
Advertisements