Skip to content

HTML for greens - HTML

Underline

How do you underline text on a Web page?

<u>Enter text here</u>

Allows you to underline a portion of the text.

Example <u>

This text is underlined

Questions and Answers

How to underline text in HTML?

To underline text in HTML, simply enclose it within the <u>...</u> tags.

How to add underlining in HTML?

By default, text on a web page is written in a regular font. To add underlining to a portion of the text, just enclose it within the <u>...</u> tags. This is often used to indicate unarticulated text or a spelling error.