# How to Underline Text in Wordpress

> To underline text in WordPress, open your post or page, add a Custom HTML block, and enter your text wrapped in <u> tags. Finally, preview your changes and save the content.

Canonical: https://livedemo.ai/tutorials/how-to-underline-text-in-wordpress/
Apps: WordPress
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a5021ab56e05a00ffcc63/preview?step=1

## Steps

1. Go to your WordPress dashboard, navigate to Posts or Pages , and open the content where you want to add underlined text.
2. Click the + button to add a new block.
3. Select the Custom HTML block.
4. Type or paste the following HTML code: <p>This is an <u>underlined</u> text.</p>
5. You can replace the text inside the <u> tags with your desired text.
6. Click Preview to see how it looks and then click Save to save your changes.
