Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

HTML <frameset> tags


May 04, 2021 HTML Reference Manual


Table of contents


HTML -lt;frameset-tags - HTML5 does not support

Although the label has been removed from the web standard, some browsers still support it, and you can briefly understand the use of the label by following examples:

Simple three-frame page:

<frameset cols="25%,*,25%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>

Try it out . . .
(See bottom of page for more examples)

Label definition and instructions for use

HTML5 does not support labels.

The label defines a set of frames.

The element is used to organize one or more of the elements. Each has its own separate documentation.

The element specifies how many columns or rows exist in the frame set and the percentage per column/pixel occupied per row.

Note: If you want to verify the page that contains the frame, make sure that the D OCTYPE is set to "HTML Frameset DTD" or "XHTML Frameset DTD". You can read more about XHTML validation with DTD in this site.


The difference between HTML and XHTML

No.


Optional properties

Property Value Describe
cols pixels
%
*
HTML5 is not supported. Specify the number and size of columns in the framework set.
rows pixels
%
*
HTML5 is not supported. Specifies the number and size of rows in the frame set.


The standard property

In HTML 4.01, the label supports the following standard properties:

Property Value Describe
class classname Specifies the class name of the element
Id Id Specifies the unique id of the element
style style_definition Specifies the in-line style of the element
title text Provide additional information about the element

For a complete description, visit Standard Properties.


The event property

In HTML 4.01, the label supports the following event properties:

Property Value Describe
onload script The script is executed when the document is loaded
onunload script The script is executed when the document is removed

For a complete description, visit Event Properties.


HTML <frameset> tags

Try it - instance

Horizontal frame
This example shows how to create a horizontal framework using three different documents.

Hybrid structure frame
This example shows how to create a frame structure with three documents and mix them into rows and columns.

The frame structure that contains the "noresize" property
This example demonstrates the noresize property. I n this case, the frame is not resized. Drag the mouse over the border between the frames and you'll notice that the border can't be moved.


Related articles

HTML DOM Reference Manual: Frameset Object