Quick summary
Adding an HTML tag to a WordPress post or page lets you embed custom code directly into your content using the Custom HTML block in the block editor. This method works on WordPress.com and gives you full control over embedded scripts, widgets, and markup without editing theme files.
Steps
- Navigate to Posts or Pages and select the one you want to edit.
- Click the + icon to add a new block in the editor.
- Search for and select the Custom HTML block from the block library.
- Paste your HTML code into the Custom HTML block.
- Click the Preview button to verify how the HTML renders on the page.
- Click Save to update or publish your post or page with the new HTML tag.
.gif)



