Name

<iframe>

Synopsis

<iframe> ... </iframe>

Description

Define an inline frame.

Attributes

align=type

Align the floating frame to either the top, middle, bottom (default), left, or right of the text in the line.

class=name

Specify a style class controlling the appearance of the frame contents.

frameborder=[1|0]

Enable or disable the display of borders for the frame. Default is 1, which inserts the border. The value 0 turns the border off.

height=n

Specify the height of the frame in pixels or as a percentage of the window size.

id=name

Define a name for this tag that is unique to this document.

longdesc=url

Provide the URL of a document describing the contents of the frame.

marginheight=n

Place n pixels of space above and below the frame contents.

marginwidth=n

Place n pixels of space to the left and right of the frame contents.

name=string

Define the name of the frame.

scrolling=type

Always add scrollbars (yes), never add scrollbars (no), or add scrollbars when needed (auto).

src=url

Define the URL of the source document for this frame.

style=style

Specify an inline style for this tag.

title=string

Specify a title for this tag.

width=n

Specify the width of the frame in pixels.

See Chapter 4 for more information on using frames.

Get Webmaster in a Nutshell, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.