HTML 4 frameset Tag

Obsolete in HTML5
This tag is obsolete in HTML5, so it's best to avoid using it.


The HTML frameset tag is used to separate the window into frames. For example, you can have a left frame for navigation and a right frame for the main content.

Also see:

Frames are not supported in HTML 5 due to the usability issues that they have caused. Despite this, HTML 5 still allows the <iframe> tag.

Here are the details of the HTML frameset tag:

Example

View the result

Attributes

Attributes specific to this tag:
AttributeDescription
rowsSpecifies the number of rows and their height in either pixels, percentages, or relative lengths. Default is 100%
colsSpecifies the number of columns and their width in either pixels, percentages, or relative lengths. Default is 100%
Other Attributes:
AttributeDescription
classDocument wide identifier.
idDocument wide identifier
titleSpecifies a title to associate with the element. Many browsers will display this when the cursor hovers over the element (similar to a "tool tip").
styleInline style (CSS)
onloadIntrinsic event (see event handlers)
onunloadIntrinsic event (see event handlers)

HTML5 Tags

The information on this page is based on HTML version 4.01. Most modern browsers now support HTML5.

See this list of HTML tags for the latest list of HTML elements.