# Wix Blog: Adding HTML Code to a Blog Post

Source: https://support.wix.com/en/article/wix-blog-adding-html-code-to-a-blog-post (updated 2026-02-12)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

Use HTML to embed an iframe (external code or components) in a blog post or display an external site.

> **Important:** Make sure to read through the [limitations](https://support.wix.com/en/article/wix-editor-embedding-a-site-or-a-widget) of the HTML element before using it.

### To add HTML code to a blog post:

1. Go to [Blog](https://www.wix.com/my-account/site-selector/?buttonText=Manage%20My%20Blog&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https://www.wix.com/dashboard/%7B%7BmetaSiteId%7D%7D/blog) in your site's dashboard.
2. Click **Edit** on the relevant blog post, or **Create New Post** to write a new one.
3. Click **Add** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/9432a2ad-f01d-4a3d-ae53-370c37e15e62/2021/12/12/4960c006-437e-433c-a192-3686e664cfcf/486a1db5-f7b6-455b-b3ab-675f272f4b0b.jpg) on the left side.
4. Click **HTML code.**
5. Do one of the following:  
   * **Add HTML code:** Adds features from external sites using HTML code.  
         1. Click **HTML Code**.  
         2. Enter your HTML code.  
         3. Click **Save**.  
   * **Embed an external site:** Displays an external site in a window in your post.  
         1. Click **Website Address (URL)**.  
         2. Enter a URL.  
         3. Click **Save**.
6. (Optional) Customize the element using the options; width, height and alignment.

![A screenshot showing the option to embed HTML code.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/9432a2ad-f01d-4a3d-ae53-370c37e15e62/2021/12/12/eb141181-cceb-45f5-8a69-ce43542feee4/2e6b3dd2-7b31-49fa-9c2a-c2676f635892.jpg)

**Learn how to retrieve an HTML code from these third-party sites:**

* [SoundCloud](https://help.soundcloud.com/hc/en-us/articles/115003568008-Embedding-a-track-or-playlist-) - Embed a music track
* [Google Maps](https://support.google.com/maps/answer/3544418?hl=en) - Embed a map
* [Instagram](https://www.instagram.com/developer/embedding/) - Embed a picture
* [Vine](http://www.laptopmag.com/articles/how-to-embed-vine-video-on-website-blog) - Embed a post
* [Twitter](https://support.twitter.com/articles/20170071)- Embed a timeline
* [Pinterest](https://developers.pinterest.com/tools/widget-builder/) - Embed a Pinterest feature
* [Facebook](https://developers.facebook.com/docs/plugins/embedded-posts) - Embed posts
* [VK](https://vk.com/pages?oid=-17680044&p=VK%5FAPI%5FDocumentation) - Embed a VK feature
