CKTIS / HTML
u — non-textual annotation
The u element marks text with a visible non-textual annotation, such as a spelling-error indication. It is not a general-purpose element for emphasis or decorative underlining.
Version: WHATWG HTML Living Standard; index snapshot date recorded separately
Syntax
<u>text</u>The u element marks text with a visibly rendered non-textual annotation that is not expressed in words, such as a spelling-error indication or a Chinese proper-name mark.
It contains phrasing content and is allowed wherever phrasing content is expected. Both tags are required; global attributes are supported.
It does not replace em for stress emphasis or cite for work titles. Use ruby for explicit textual annotations. Avoid usage that could be mistaken for a hyperlink: the default appearance is underlining.
In the example, recieve is deliberately misspelled; u marks the error but does not correct it.
Examples
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>Spelling annotation</title>
<p>Spelling review: <u>recieve</u> should be receive.</p>
</html>Result
Spelling review: recieve should be receive.
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.