HTML i Tag

The HTML<i> tag is used to represent the technical term, phrase, the important word in a different language. The content under the <i> tag is displayed in italic format.

Syntax

<i>Your Content</i>

Example

<!doctype html>
<html>
   <head>
      <title>HTML tag</title>
   </head>
   <body>
      <h2>HTML <i> tag example</h2>
      <p>This paragraph is not written in the <i> tag</p>
      <i><p>This paragraph is written inside the <i> tag</p></i>
   </body>
</html>

Output:

I tag in html

Global Attributes

The <i> tag supports the Global Attributes in HTML.

Event Attributes

The <i> tag supports the Event Attributes in HTML.

Supported Browsers

Element Chrome Firefox IE Opera Safari
<i> Yes Yes Yes Yes Yes

Leave a Comment

Your email address will not be published.