HTML underline

<u> tag in HTML

The <u> tag is used to underline the given text.

Example 1 - using html <u> tag

Try Yourself

In the below example, the text is underlined using css property. If you do not understand just leave it, we will learn it later.

Example 2 - using css property

Try Yourself