HTML <u> tag
The u element is deprecated.
Example
Underline text with the <u> tag:
<p>Do not <u>underline</u> text
if it is not a hyperlink!</p> |
Try it yourself!
|
Definition and Usage
The <u> tag defines underlined text.
Browser Support
The <u> tag is supported in all major browsers.
Differences Between HTML and XHTML
The u element was deprecated
in HTML 4.01, and is not supported in XHTML 1.0 Strict DTD.
Tips and Notes
Tip: Do not underline text! A user confuses it with a hyperlink!!
Standard Attributes
id, class, title, style, dir, lang, xml:lang |
For a full description, go to Standard
Attributes.
Event Attributes
onclick, ondblclick, onmousedown,
onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown,
onkeyup |
For a full description, go to Event Attributes.
Whether you're new to XML or already an advanced user, the user-friendly views
and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to
meet your XML and Web services development needs from start to finish.
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- Support for Office Open XML (OOXML)
- Graphical WSDL editor & SOAP debugger
- Java, C#, C++ code generation
- And much more!
Download a fully functional free 30-day trial today!
|