header-logo
Learn how to use Wix to build your site and business.
Design and manage your site using intuitive Wix features.
Manage subscriptions, plans and invoices.
Run your business and connect with members.
Learn to purchase, connect or transfer a domain to your site.
Get tools to grow your business and web presence.
Boost your visibility with SEO and marketing tools.
Get advanced features to help you work more efficiently.
Find solutions, learn about known issues or contact us.
placeholder-preview-image
Improve your skills with our courses and tutorials.
Get tips for web design, marketing and more.
Learn to increase organic site traffic from search engines.
Build a custom site using our full-stack platform.
Get matched with a specialist to help you reach your goals.
placeholder-preview-image

Wix Blog: Adding HTML Code to a Blog Post

1 min
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:

  1. Go to 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  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.
Learn how to retrieve an HTML code from these third-party sites: