Renders text with an underline. | HTML 3.2, 4, 4.01, 5 |
HTML Syntax
<u
class = classname
id = value
style = css_style_rules
title = text
>
NOTE: Both start and end tags are required.
The <u
> element underlines the text it encloses, including gaps between words in the enclosed text.
The <u>
element has no attribute of its own, but supports global attributes common to all HTML elements.
The following shows how the u element may be used.
<p>This text has <u>some underlined words</u>.</p>
which would render on a Web page as
This text has some underlined words.
B EM I S STRIKE STRONG