The available widget areas depend on the WordPress theme you are using . For example, you can insert it in the footer, header or other areas.
Click the Plus icon to add a widget
Then, in the widget block menu, find the Custom HMTL widget and click on it to automatically add it to the widget area.
Add custom HTML widget in WordPress
After that, you can click on your custom HTML widget and enter the HTML code. When you're done, don't forget to click the "Refresh" button in the top right corner of the screen.
Add custom HTML code in widget block
You can now visit your website to see the maldivian lads Custom HTML Widget in action.
Custom HTML Preview
Edit HTML in the WordPress Theme Editor
Another way to edit your website’s HTML code is to use the WordPress Theme Editor (Code Editor).
However, we do not recommend editing the code directly in the theme editor. The slightest mistake while entering the code can break your website and prevent you from accessing the WordPress dashboard.
t.
Therefore, if you are considering editing the HTML code using the theme editor, it is advisable to create a backup of your website before making any changes.
Next, in your WordPress dashboard, go to Appearance » Theme Editor . You will now see a warning message about directly editing theme files.