May 04, 2021 HTML Reference Manual
1. HTML -lt;frameset-tags - HTML5 does not support
2. Label definition and instructions for use
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:
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.
No.
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. |
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.
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.
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.
HTML DOM Reference Manual: Frameset Object