Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | Advanced Guides | Troubleshooting | About
The iframe element produces an HTML iframe. (an HTML <iframe>
tag).
#iframe {
src = "//www.youtube.com/embed/AAF58aJSr28?rel=0",
name = "homeVideo",
allowfullscreen = "",
html_id = "homeVideo",
frameborder = "0"
}
src
(string) - Set the HTML src
attribute of the iframe. This can be either an absolute URL (http://hostname.com/path/to/src
) or a relative URL (/path/to/src
).
srcdoc
(string) - Set the HTML srcdoc
attribute of the iframe.
height
(integer) - Set the HTML height
attribute of the iframe.
width
(integer) - Set the HTML width
attribute of the iframe.
align
(Atom, 'left', 'top', 'right', 'middle', or 'bottom') - Set the alignment of an iframe relative to surrounding elements.
frameborder
(integer, 0 or 1) - Set the HTML frameborder
attribute of the iframe.
name
(string) - Set the HTML name
attribute of the iframe.
sandbox
(string) - Set the HTML sandbox
attribute of the iframe.
seamless
(string) - Set the HTML seamless
attribute of the iframe.
allowfullscreen
(boolean) - Set the HTML allowfullscreen
attribute of the iframe.