You are here: Home > HTML Reference > Elements > iframe element
Usage
HTML 4 says, "The IFRAME element allows authors to insert a frame within a block of text. The information to be inserted inline is designated by the src attribute. The contents of the IFRAME element, on the other hand, should only be displayed by user agents that do not support frames or are configured not to display frames."
Attributes
- align
- allowtransparency
- application
- border
- frameborder
- height
- hspace
- longdesc
- marginheight
- marginwidth
- name
- scrolling
- security
- src
- vspace
- width
- common attributes
Browser compatibility
Compatibility table legend
| Test | IE8 | IE7 | IE6 | FF3 | FF2 | Saf3 | Op9 | Chrome | |:---------|:--------|:--------|:--------|:--------|:--------|:---------|:--------|:-----------| | appears in DOM | Y | Y | Y | Y | Y | Y | Y | Y | | applies style | Y | N | N | Y | Y | Y | Y | Y |