HTML Tag


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>

Updated on: 30-Jul-2019

130 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements