Question: What attributes can a frameset have?
Answer:
A frameset can have several attributes:
- id
gives the frameset a name - class
gives the frameset a class type - title
provides information about the frameset - style
provides specific style information about the frameset - onload
defines actions that occur when the frameset is loaded - onunload
defines actions that occur when the frameset is unloaded - rows
defines the number of horizontal spaces in a frameset - cols
defines the number of vertical spaces in a frameset
The following attributes are not in the DTD, but are recognized by most browsers:
- border
Netscape uses this attribute to define the border width - bordercolor
Netscape uses this to define the color of the border - frameborder
0 or no turns off the border 1 or yes turns it on - framespacing
IE uses this attribute to define the space between frames - onblur
defines actions that occur when the frameset is unselected - onfocus
defines actions that occur when the frameset is selected

