View video tutorial

HTML <u> Tag


The <u> tag is used to underline text or present it as misspelled words.

HTML <u> Tag

The <u> element represents a span of inline text that is styled separately from the general text and indicates that it contains a non-textual annotation.

It is rendered by default as a simple solid underline, but can be modified using CSS.

Global attributes

Global attributes may be applied on all elements, although some elements may have no effect on them.

<accesskey>, <class>, <contenteditable>, <contextmenu>, <data-*>, <dir>, <draggable>, <dropzone>, <hidden>, <id>, <lang>, <spellcheck>, <style>, <tabindex>, <title>, <translate>.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.


<p>This tag is used to <u>highlight spelling mistakes</u> in text so that they can be <u>corrected</u> later</p>
Try it Now »

Click on the "Try it Now" button to see how it works.