<u>: The U Element

Last updated: 2026-10-13

<u>The U Element

Adds an underline without emphasis, often used for misspelled words or proper names needing visual distinction.

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

📝 Syntax

<u>underlined text</u>

▶ Example

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

🌐 Browser Support

Browser ChromeChrome EdgeEdge FirefoxFirefox SafariSafari OperaOpera
<u> ✓ v1 ✓ v12 ✓ v1 ✓ v1 ✓ v1
Supported in all major browsers
Tip: Underlines are easily confused with links; prefer CSS unless there is a real semantic need for <u>.

❓ FAQ

QIs the u tag still recommended?
AHTML5 redefined <u>: non-textual annotation, such as proper names in Chinese or misspellings marked during proofreading. Do not use it as a decorative underline — underlines are easily confused with hyperlinks, so use it sparingly on ordinary text.
QWhat is the difference between u and ins?
ABoth default to underline styling, but the semantics differ: <u> is textual annotation (names, spelling errors), <ins> is inserted content (revision records). For additions use <ins>, which also supports the cite and datetime attributes.
QWhy do many people say not to use the u tag?
AHistorical reasons: <u> was a purely visual tag deprecated in HTML4, and underlines are easily confused with links, hurting usability. Although HTML5 restored a semantic definition, in practice <mark> (highlight) or CSS handles text annotation better, so <u> is rarely used.

📚 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%

🙏 帮我们做得更好

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

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