Posted on Leave a comment

How to Add Custom HTML in WordPress Page or Post

Sometimes we need to add some HTML code into the page or post section. Then how you could do that? If you are using Gutenberg Editor then click on Component Dropdown Menu from top right corner.

Select Code Editor or you can use Ctrl + Shift + Alt + M as keyboard shortcut.

Now you can see the Code Editor view where you can add your custom html code. Below I have an example added like this:

<p class="highlight-text">This paragraph has highlighted texts.</p>

Now we need to know about how to add some custom CSS code to change the look below.

This paragraph has highlighted texts.

I hope this post will help beginner who are trying to make changes using WordPress.

Still no luck? We can help!

Submit a Request

Contact us and we’ll get back to you as soon as possible.

Leave a Reply

Your email address will not be published. Required fields are marked *