# How to Add HTML Tag to Wordpress

> To add an HTML tag in WordPress, navigate to Posts or Pages, select the item to edit, click the plus icon, and choose the Custom HTML block. Next, paste the HTML code into the block, preview the appearance, and click Save to update or publish the post or page.

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

## Steps

1. Navigate to Posts or Pages and select the one you want to edit.
2. Click the + icon to add a new block.
3. Search for and select the Custom HTML block.
4. Paste your HTML code into the block.
5. Click on the Preview button to see how it looks.
6. Update or Publish Your Post/Page by clicking Save .
