Wix Blog: Adding HTML Code to a Blog Post
1 min read
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 of the HTML element before using it.
To add HTML code to a blog post:
- Go to Blog in your site's dashboard.
- Click Edit on the relevant blog post, or Create New Post to write a new one.
- Click Add on the left side.
- Click HTML code.
- Do one of the following:
- Add HTML code: Adds features from external sites using HTML code.
- Click HTML Code.
- Enter your HTML code.
- Click Save.
- Embed an external site: Displays an external site in a window in your post.
- Click Website Address (URL).
- Enter a URL.
- Click Save.
- Add HTML code: Adds features from external sites using HTML code.
- (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 - Embed a music track
- Google Maps - Embed a map
- Instagram - Embed a picture
- Vine - Embed a post
- Twitter- Embed a timeline
- Pinterest - Embed a Pinterest feature
- Facebook - Embed posts
- VK - Embed a VK feature