HTML Tag Reference - HTML tag <u>








The <u> tag underlines text.

Browser compatibility

Yes Yes Yes Yes Yes

What's new in HTML5

None.

Global Attributes

The <u> tag supports the Global Attributes in HTML.

Event Attributes

The <u> tag supports the Event Attributes in HTML.

Default CSS Settings

u {
    text-decoration: underline;
}




Example

<!DOCTYPE html>
<html>
<body>

<p>This is a <u>test</u>.</p>

</body>
</html>

Click to view the demo