Quick summary
To underline text in WordPress, you can insert a Custom HTML block and wrap your text in <u> tags directly in the block editor. This method works in WordPress.com and gives you precise control over text formatting without relying on theme styles.
Steps
- Go to your WordPress dashboard, navigate to Posts or Pages, and open the content where you want to add underlined text.
- Click the + button to add a new block.
- Select the Custom HTML block from the block options.
- Type or paste the following HTML code into the block: <p>This is an <u>underlined</u> text.</p>
- Replace the text inside the <u> tags with your desired text.
- Click Preview to see how the underlined text looks, then click Save to save your changes.



