<i>: The I Element

Last updated: 2026-10-13

<i>The I Element

Renders text in italics without emphasis, often used for foreign words, technical terms, ship names, etc.

CategoryFormatting
Content ModelPhrasing content
Allowed ParentsAny element that accepts phrasing content
Content TagYes — requires closing </i> tag
StatusStandard

📝 Syntax

<i>italic text</i>

▶ Example

Edit the code below and see the live result in the playground:

🌐 Browser Support

Browser ChromeChrome EdgeEdge FirefoxFirefox SafariSafari OperaOpera
<i> ✓ v1 ✓ v12 ✓ v1 ✓ v1 ✓ v1
Supported in all major browsers
Tip: <i> has no semantics, only changes appearance. Use <em> when the text needs stress emphasis.

❓ FAQ

QWhat does the i tag mean in HTML5?
AHTML5 redefined <i>: it marks text in an alternate voice or mood, such as technical terms, foreign phrases, taxonomic names, or inner thoughts. It is no longer purely visual italics, but it carries no emphasis either — use <em> for emphasis.
QShould I choose i or em?
AIt depends on semantics: use <em> to convey importance or change sentence stress; use <i> for a different voice such as terms, foreign words, or ship names. For example, this word reads as <i>ねこ</i> in Japanese suits <i>.
QIs using the i tag for icons correct?
AIt has long been a convention in Bootstrap, Font Awesome, and similar libraries, but by the HTML spec it is incorrect — an icon is not text. More semantic options are a <span> with aria-hidden or an inline <svg>. Putting icons in <i> survives mostly on historical momentum.

📚 Related Tutorials

Web-Tutorial.com

Web-Tutorial Tech Team

A team of developers maintaining programming tutorials. Each tutorial is written and reviewed by developers with expertise in that field. We work to keep our content accurate and reliable — if you spot an issue, please let us know.

100%

🙏 帮我们做得更好

我们是刚上线的编程教程站,几个人的小团队,精力有限。页面虽经检查,难免还有疏漏——链接失效、排版错乱、内容有误、语言生硬……

如果您发现了,麻烦告诉我们,我们会在收到反馈后第一时间进行修复,再次感谢您的光临 🙏