HTML 5: IFrame is back
It’s officially back.
In HTML 5 elements do not support attributes such as
iframe element has three new attributes called
srcdoc which allow for sandboxing content, e.g. blog comments.
New sandbox attribute enables a set of extra restrictions on any content hosted by the iframe.
Seamless attribute allows the inline frame to appear as though it is being rendered as part of the containing document. For example, borders and scrollbars will not appear. This is a boolean attribute. If the attribute is present, its value must either be the empty string or a value that is an ASCII case-insensitive match for the attribute’s canonical name, with no leading or trailing whitespace (i.e. either seamless or seamless=”seamless”).
- [Empty string]