Text Content
HTML <u> element
Marks an unarticulated non-textual annotation, such as a spelling error. Avoid confusing its default underline with a hyperlink. The annotation can identify a misspelled word or another non-textual annotation. Because underlining often signals links, use styling and context that avoid misleading users. It accepts global HTML attributes; individual global features may be inapplicable or restricted.
Formal Syntax & Structure
html syntaxhtml
<u>Annotated text</u>Return Value
HTMLElement
Content model: Phrasing content, with element-specific restrictions.
Working Example
Example Snippethtml
<!doctype html><html lang="en"> <head> <meta charset="utf-8"> <title>HTML example</title> </head> <body> <p> Spelling note: <u>recieve</u> . </p> </body></html>