A simple three-framed page:
More "Try it Yourself" examples below.
The <frameset> tag is not supported in HTML5.
The <frameset> tag defines a frameset.
The <frameset> element holds one or more <frame> elements. Each <frame> element can hold a separate document.
The <frameset> element specifies HOW MANY columns or rows there will be in the frameset, and HOW MUCH percentage/pixels of space will occupy each of them.
Note: If you want to validate a page containing frames, be sure the <!DOCTYPE> is set to either "HTML Frameset DTD" or "XHTML Frameset DTD".
Element | |||||
---|---|---|---|---|---|
<frameset> | Yes | Yes | Yes | Yes | Yes |
The <frameset> tag is not supported in HTML5.
NONE.
Attribute | Value | Description |
---|---|---|
cols | pixels % * |
Not supported in HTML5. Specifies the number and size of columns in a frameset |
rows | pixels % * |
Not supported in HTML5. Specifies the number and size of rows in a frameset |
Horizontal frameset
How to make a horizontal frameset with three different documents.
Mixed frameset
How to make a frameset with three documents, and how to mix them in rows and columns.
Frameset with noresize="noresize"
How to use the "noresize" attribute. The frames are not resizable. Move the
mouse over the borders between the frames and notice that you can not move the borders.