HTMLFrameSetElement
Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
The HTMLFrameSetElement
interface provides special properties (beyond those of the regular HTMLElement
interface they also inherit) for manipulating <frameset>
elements.
Properties
Inherits properties from its parent, HTMLElement
and from WindowEventHandlers
.
-
HTMLFrameSetElement.cols
-
Is a
DOMString
structured as a comma-separated list specifying the width of each column inside a frameset. -
HTMLFrameSetElement.rows
-
Is a
DOMString
structured as a comma-separated list specifying the height of each column inside a frameset.
Methods
No specific method; inherits methods from its parent, HTMLElement
and from WindowEventHandlers
.
Event handlers
No specific event handler; inherits event handlers from its parent, HTMLElement
and from WindowEventHandlers
.
WindowEventHandlers.onafterprint
-
Is an event handler representing the code to be called when the
afterprint
event is raised. WindowEventHandlers.onbeforeprint
-
Is an event handler representing the code to be called when the
beforeprint
event is raised. WindowEventHandlers.onbeforeunload
-
Is an event handler representing the code to be called when the
beforeunload
event is raised. WindowEventHandlers.onhashchange
-
Is an event handler representing the code to be called when the
hashchange
event is raised. -
WindowEventHandlers.onlanguagechange
-
Is an event handler representing the code to be called when the
languagechange
event is raised. WindowEventHandlers.onmessage
-
Is an event handler representing the code to be called when the
message
event is raised. WindowEventHandlers.onoffline
-
Is an event handler representing the code to be called when the
offline
event is raised. WindowEventHandlers.ononline
-
Is an event handler representing the code to be called when the
online
event is raised. WindowEventHandlers.onpagehide
-
Is an event handler representing the code to be called when the
pagehide
event is raised. WindowEventHandlers.onpageshow
-
Is an event handler representing the code to be called when the
pageshow
event is raised. WindowEventHandlers.onpopstate
-
Is an event handler representing the code to be called when the
popstate
event is raised. WindowEventHandlers.onresize
-
Is an event handler representing the code to be called when the
resize
event is raised. WindowEventHandlers.onstorage
-
Is an event handler representing the code to be called when the
storage
event is raised. WindowEventHandlers.onunload
-
Is an event handler representing the code to be called when the
unload
event is raised.
Specifications
Specification |
---|
HTML Standard (HTML) # htmlframesetelement |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
HTMLFrameSetElement |
1 |
12 |
1 |
4 |
≤12.1 |
3 |
1 |
18 |
4 |
≤12.1 |
1 |
1.0 |
cols |
1 |
12 |
1 |
5.5 |
≤12.1 |
3 |
1 |
18 |
4 |
≤12.1 |
1 |
1.0 |
onstorage |
3 |
12 |
45 |
9 |
15 |
4 |
≤37 |
18 |
45 |
14 |
3.2 |
1.0 |
rows |
1 |
12 |
1 |
5.5 |
≤12.1 |
3 |
1 |
18 |
4 |
≤12.1 |
1 |
1.0 |
See also
- HTML element implementing this interface:
<frameset>
- The equivalent of this element outside of frames:
HTMLBodyElement
.
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement