Add a Custom HTML block in WordPress
You can add a block with custom HTML to your WordPress website.
- Open the block editor (Need help opening the block editor?).
- Select Add block.
- Select Custom HTML from the Formatting section.
- Paste your HTML code snippet into the field provided.
- You can preview the code by selecting the Preview tab.
Note: Please remember to update your page or post after editing.
- Go back to the article: Using the WordPress editor