The best HTML <u> tag Tutorial In 2024, In this tutorial you can learn Examples,Browser Support,Tag definitions and instructions,Tips and Notes,Differences between HTML 4.01 and HTML5,Global Properties,Event Properties,

HTML <u> tag

Examples

Use <u> tag underlines the text:

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


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support <u> tag.


Tag definitions and instructions

<U> tag defines text styles with different conventional texts, like misspelled words or Chinese proper nouns.


Tips and Notes

Tip: Try to avoid using <u> underlined text, users will confuse it as a hyperlink.

NOTE: HTML5 specification recommends that developers try to use other elements substitute <u> element.


Differences between HTML 4.01 and HTML5

In HTML, <u> element is deprecated (<u> element is used to define an underscore).

HTML5 to redefine the <u> element that defines the different text styles regular text, like misspelled words or Chinese proper nouns.


Global Properties

<u> tag supports HTML global properties .


Event Properties

<u> tag supports HTML event properties .

HTML <u> tag
10/30