HTML u Tag

HTML <u>Tag: The HTML<u> tag specifies that some text that should be stylistically different from normal text, such as misspelled words. And the HTML u tag is generally used to underline misspelled words. It requires a starting as well as ending tag.

HTML <u>Tag

This HTML u tag supports both the global and the event attributes. And the <u> element is redefined in HTML5, to represent text that should be stylistically different from normal text, such as misspelled words or proper nouns in Chinese.

Syntax: <u> Text </u>

Browser compatibility

The HTML<u>tag is supported by different types of browsers.

  • Chrome
  • Firefox
  • Opera
  • Safari
  • Internet Explorer

Example:

<!DOCTYPE html>
<html>
<body>
<p>Freshersnow <u>Tutorial</u>.</p>
</body>
</html>

Output:

Freshersnow Tutorial.