FRAMESET TAG and ATTRIBUTES

<FRAMESET></FRAMESET>

This element is used to define the organization of a set of independent window regions known as frames as defined by the element. This element replaces the element in framing documents.


ATTRIBUTES

BORDERCOLOR = "color name | #RRGGBB”
BORDER = "pixels”
CLASS = "class name(s)"
COLS = "list of columns"
FRAMEBORDER = "NO | YES | 0 | 1”
FRAMESPACING = "pixels”
ROWS = "list of rows”
STYLE = "style information"

EVENTS

onload
onunload


BORDERCOLOR  This attribute sets the color for frame borders within the frame set using either a named color or a color specified in the hexadecimal #RRGGBB format.

BORDER  This attribute sets the width in pixels of frame borders within the frame set. Setting BORDER=”0” eliminates all frame borders. This attribute is not defined in the HTML specification but is widely supported.

CLASS  See Cascading Style Sheets (CSS) Information.

COLS  This attribute contains a common-delimited list, which specifies the number and size of columns contained within a set of frames. List items indicate columns, left to right. Column size is specified in three formats, which may be mixed. A column can be assigned a fixed width in pixels. It can also be assigned a percentage of the available width, such as 50 percent. Lastly a column can be set to expand to fill the available space by setting the value to *, which act as a wildcard.

FRAMEBORDER  This attribute controls whether or not frame borders should be displayed. Netscape supports NO and YES values. Microsoft uses 1 and 0 as well as YES and NO.

FRAMESPACING  This attribute indicates the space between frames in pixels.

ROWS  This attribute contains a comma-delimited list, which specifies the number and size of rows contained within a set of frames. The number of entries in the list indicates the number of rows. Row size is specified with the same formats used for columns.

STYLE  See Cascading Style Sheets (CSS) information.

Back to Top