What does the "render as iframe" checkbox on the HTML component do?
You can use the HTML section to do a variety of things, from including a Twitter or FB feed, an online store, a blog RSS, or embedding another site! What the "render as iframe" checkbox does is essentially put the code you pasted/wrote in its own little "window" so that it can be sure to be visible, and not affect any of the other code on the page.
As a general rule:
- mainstream HTML embeds (Twitter, FB) do NOT need the box checked.
- code you wrote that has all of the proper closing tags </example> do NOT need the box checked.
- code that shows another website directly on your strikingly site, MAY need the box checked.
Sometimes, it's necessary to check this box in order for the page or section to work at all!
NOTE: "Render as iframe" affects mobile compatibility.
Since using an iframe is a little like looking at the content through a window, the user's computer is not interacting with that content directly, and doesn't always know how to respond to it.
Use the "preview" button to see your section live, and on different devices or screen sizes.
Remember that what is in the editor is not necessarily what your user will see. In case you need assistance, shoot us a line at email@example.com or chat with us.