The HTML i tag displays text in italics. This element supports only HTML global attributes.
Syntax
<i>Italics text</i>
Example
<DOCTYPE html>
<html>
<head>
<title>HTML Italics</title>
</head>
<body>
<p>This is normal text. <i>This is italics.</i></p>
</body>
</html>
Output
This is normal text. This is italics.
Using CSS
You can also make a text appear in italics as shown in the following example.
Example
<p style="font-style:italic;">Hello World</p>
Output
Hello World
Subscribe
Join the newsletter to get the latest updates.