IFRAME Description:
The IFRAME element creates an inline frame in the XHTML document.
IFRAME Web Browser Support:
- Chrome 1, 2, 3, 4, 5
- Firefox 1, 2, 3
- Internet Explorer 2, 3, 4, 5, 6, 7, 8
- Netscape 7, 8
- Opera 3, 4, 5, 6, 7, 8, 9, 10
- Safari 1, 2, 3, 4, 5
- WebTV/MSN TV
HTML Versions
IFRAME Attributes:
Global attributes, event attributes and:
- align
- frameborder not HTML5
- height
- id
- longdesc
- marginheight not HTML5
- marginwidth not HTML5
- name
- sandbox HTML5
- seamless HTML5
- scrolling not HTML5
- src RECOMMENDED
- style
- title
- width
IFRAME End Tag:
Contents:
CDATA alternative text for browsers that don't support the iframe tag. The following tags are valid within the IFRAME tag:
a,
abbr,
acronym,
address,
applet,
b,
basefont,
bdo,
big,
blockquote,
br,
button,
center,
cite,
code,
dfn,
dir,
div,
dl,
em,
fieldset,
font,
form,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
i,
iframe,
img,
input,
isindex,
kbd,
label,
map,
menu,
noframes,
noscript,
object,
ol,
p,
pre,
q,
s,
samp,
script,
select,
small,
span,
strike,
strong,
sub,
sup,
table,
textarea,
tt,
u,
ul,
var
IFRAME Valid Context:
The IFRAME tag is valid within the following tags:
a,
abbr,
acronym,
address,
applet,
b,
bdo,
big,
blockquote,
body,
button,
caption,
center,
cite,
code,
dd,
del,
dfn,
div,
dt,
em,
fieldset,
font,
form,
h1,
h2,
h3,
h4,
h5,
h6,
i,
iframe,
ins,
kbd,
label,
legend,
li,
noframes,
noscript,
object,
p,
pre,
q,
s,
samp,
small,
span,
strike,
strong,
sub,
sup,
td,
th,
tt,
u,
var
IFRAME Usage:
<iframe src="http://webdesign.about.com/od/iframes/a/aaiframe.htm" width="300" height="600">A page about learning iFrames</iframe>
IFRAME Special Notes:
- Iframes can cause pages to load more slowly
- Also, if you put someone else's site in an iframe, they may get upset with you for stealing their bandwidth
- Iframes used to be an IE-only feature, but has since been added into the HTML specification.

