# How to Edit HTML in WordPress Posts

> To edit HTML in WordPress posts using the Block Editor, select the specific block, choose HTML from the floating bar, make your modifications, tap Preview, and click Save to apply your changes.

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

## Steps

1. On WordPress Block Editor, click the specific block that contains the HTML code you want to edit.
2. Select 'HTML' from the floating bar above it.
3. After that, start making your desired modifications. You may add, remove, or revise the original HTML code according to your liking.
4. Tap 'Preview' afterwards.
5. Once done, click 'Save' to apply the recent changes to the HTML code in your WordPress post.
