Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Frameset Object

HTML DOM Frameset Object


Frameset Object

The Frameset object represents an HTML frameset.

The HTML frameset element is used to create split panes with multiple independent HTML documents.

The frameset element defines a frameset containing different HTML documents, and each frame displays the content of a different HTML document.

The frameset element contains one or more frame elements, each defining a single frame that can contain a different HTML document.

The element has a single file.

The HTML frameset element only specifies how many columns or rows exist in the frameset.

The cols or rows attribute can be used to specify the layout of the frameset.


Frameset Object Properties

W3C: W3C standard.

property Description W3C
cols Sets or returns the number of columns in the frameset. Yes
rows Sets or returns the number of rows in the frameset. Yes

Frameset Object Events

Events Description W3C
onload Executes a script immediately after the page has finished loading. Yes

Standard properties and events

The Frameset object also supports standard property and Events.