<iframe> Description:
The <iframe> element creates an inline frame in the XHTML document.
<iframe> Web Browser Support:
- Netscape 7
- Mozilla 1
- Firefox 1
- Internet Explorer 2, 3, 4, 5, 6
- Opera 3, 4, 5, 6, 7, 8
- Safari 1
- WebTV/MSN TV
- HTML 4.0
- XHTML 1.0: XHTML IFrame Module
<iframe> Attributes:
- align (optional)
- class (optional)
- frameborder (optional)
- height (optional)
- id (optional)
- marginheight (optional)
- marginwidth (optional)
- name (optional)
- scrolling (optional)
- src (optional)
- style (optional)
- title (optional)
- width (optional)
<iframe> End Tag:
</iframe> REQUIREDContents:
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:
- standard iframe
<iframe src="/index.htm" width="100" height="100" name="About Web Design/HTML front page"> There is a floating frame pointing to http://webdesign.about.com/ </iframe>
<iframe> Special Notes:
- To keep this tag accessible, be sure to include descriptive text within it.

