<iframe>iFrames are windowed frames allowing for viewing of multiple HTML documents through a single window browser. Supported by numerous browsers. Attribute | Description | align | Horizontally align various tags or content. | class | Classify or name your elements. For instance, if you classify several paragraph elements the same name, using CSS it is possible to give them all the same styles in one line of code. | frameborder | For use with frames, 0 being no border, and 1 being with a border. | height | Define an element's height using a numeric pixel value or a percentage. | id | Specify an ID for your elements. | marginheight | Define a numeric pixel value for the vertical margin. | marginwidth | Define a numeric pixel value for the width of your margins. | name | Choose a name for an element. Names can be used with other web programming languages to unify your site or run scripts obtaining user info. | scrolling | A yes value always allows scrolling; a no value disables scrolling; and an auto sets the browser to auto detect. | src | Provide a source URL for images or other content. Use local URLs or internet URLs. | style | Used to create inline styles such as CSS. | title | Places a "pop-up" title for an element upon mouse over. Similar to "help" pop-ups in word programs. | valign | Vertically align an element. | width | Define the width of an element with a numeric pixel value or a percentage. |
Code:
<frameset>
<iframe height="100" width="300" frameborder="0" src="http://www.google.com/">
</frameset>
Display:
|