When writing in HTML, the tag is used to designate a section of text that should be underlined. It is useful in instances where you want to indicate a misspelled word or a proper name in Chinese. The following sections contain information about this tag, including an example of it in use, and related attributes and browser compatibility.

Example of code

This paragraph contains a misspelt word.

Example result

This paragraph contains a misspelt word.

The tag should not be used solely for styling purposes; use CSS instead.

  • Example of code
  • Example result
  • Attributes
  • Compatibility
  • Related information

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the tag does not have any unique attributes, it does utilize all of the standard attributes.

Compatibility

Block of text, Browser, Compatibility, Container tag, HTML b tag, HTML i tag, Web design terms

  • How to change the text line spacing.
  • How to center text in HTML.
  • HTML and web design help and support.