<u>
The <u> HTML element makes non-textual annotations, styling text as underlined by default.
Overview
The <u> HTML element makes non-textual annotations, styling text as underlined by default.
Browser support
| Feature | Desktop | Mobile | ||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Safari | Chrome Android | Safari iOS | |
| 1 | 12 | 1 | 1 | 18 | 1 | |
1+Supported (version) Not supported ※Has note Sub-feature descriptions sourced from MDN Web Docs (CC BY-SA 2.5)
Notes 1 item(s)
Implementation note
- Before Firefox 4, this element implemented the `HTMLSpanElement` interface instead of the standard `HTMLElement` interface.
Syntax
HTML
<p>There is <u>a spelling mistake</u> in this text.</p>
<p>Chinese proper noun: <u>Wang Xiaoming</u></p> Live demo
Use cases
Using <u>
The <u> HTML element makes non-textual annotations, styling text as underlined by default.
Cautions
- May not be supported in older browsers.
Accessibility
- Verify how this element is announced by screen readers.
Related links
Powered by web-features