Frames


Frames create new panels in the Web browser window that are used to display content from different source documents.

<frame />

Usage

Defines a frame.

Attributes

name="..." The name of a frame.

src="/books/1/174/1/html/2/..." The source to be displayed in a frame.

frameborder="..." Toggles the border between frames (0, 1).

marginwidth="..." Sets the space between the frame border and content.

marginheight="..." Sets the space between the frame border and content.

noresize Disables sizing.

scrolling="..." Determines scrollbar presence (auto, yes, no).

Notes

Use the Frameset DTD.


<frameset>...</frameset>

Usage

Defines the layout of frames within a window.

Attributes

rows="..." The number of rows.

cols="..." The number of columns.

onload="..." The intrinsic event triggered when the document loads.

onunload="..." The intrinsic event triggered when the document unloads.

Notes

Use the Frameset DTD.


<iframe>...</iframe>

Usage

Creates an inline frame.

Attributes

name="..." The name of the frame.

src="/books/1/174/1/html/2/..." The source to be displayed in a frame.

frameborder="..." Toggles the border between frames (0, 1).

marginwidth="..." Sets the space between the frame border and content.

marginheight="..." Sets the space between the frame border and content.

scrolling="..." Determines scrollbar presence (auto, yes, no).

height="..." Height.

width="..." Width.


<noframes>...</noframes>

Usage

Alternative content when frames are not supported.

Attributes

None.

Notes

Use the Frameset DTD. The <body> element must be included inside the <noframes> tag.




Sams Teach Yourself HTML in 10 Minutes
Sams Teach Yourself HTML in 10 Minutes (4th Edition)
ISBN: 067232878X
EAN: 2147483647
Year: 2004
Pages: 151
Authors: Deidre Hayes

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net