When writing in HTML, the <u> 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, as well as related attributes and browser compatibility.
Note: The <u> tag should not be used solely for styling purposes; use CSS instead.
<p>This paragraph contains a <u>misspelt</u> word.</p>
This paragraph contains a misspelt word.