Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

html

What is the <i> tag in HTML?

Hammad Nasir

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

The <i> tag in HTML

The <i> tag is used to display text in an alternate mood. The structure of the <i> tag is as follows:

<i>Text Here</i>

The text enclosed in the <i> tag is displayed in italics. It is normally used to indicate terms, thoughts, text from another language, etc. An alternate to the <i> tag is the <em> (emphasize) tag. The <em> tag has a higher semantic value than the <i> tag.

Example usage of the <i> tag

The following code provides an example:

In the example above, only the text enclosed in the <i> tag is italicized, and the remaining text is not.

Browser Support

Browser Support
Chrome Yes
Firefox Yes
Safari Yes
Edge Yes
Opera Yes

RELATED TAGS

html

CONTRIBUTOR

Hammad Nasir
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring