By default, the inline area is 150 pixels high and 300 pixels wide. These values can be changed, however, by using the the height and width attributes within the <iframe> tag.
The title attribute of the <iframe> tag is used to describe the inline frame for improved accessibility.
The name attribute is used so that the inline frame can be
targeted by
links. If scroll bars are necessary to display all the content, they will
be added unless you specify the scrolling attribute with a value
of "no." A value of "yes" means that they scroll bars are always present.
The default is "auto" which means that scroll bars appear when they are
needed. For an example, try this:
View a poem by
Robert Frost. The poem that displays is actually a Web page that displays
in the inline frame. We can also make the
poem display in this window
(check out the source code to see how this is done).
You can also view Some Advice to Girls by Mark Twain in the inline frame as well.
View the source code for this page and notice that the <iframe> tag is a container tag. If the browser does not support inline frames, any content you place between the tags will be displayed.