Frame Structure label <frameset></frameset>
The framework allows you to open two or more pages in a browser window. You can understand that,<frameset> is actually a big <table>, but the whole page is the main body of <table>, and each cell's content is a separate page.
Columns to frame structure ("cols" and "Rows" properties)
Since we say that a frame structure can be understood as a table with a page as a cell, then it must be a column. Where the Cols property divides the page into columns, and the Rows property divides the page into rows. Let's look at an example.
<frameset rows= "25%,75%" >
<frame src= "1.html"/>
<frame src= "3.html"/>
</frameset>
where "rows=" 25%,75% indicates that the page is divided into two rows because it has two property values, and their size is 25% and 75% of the page height respectively. Click here to see how the above code works. Frame Labels <frame>
The above example already uses the <frame> tag, and its SRC attribute is what will be displayed in this frame. The two frames in this example can be resized by dragging and dropping, and if you want them to be fixed-size, you can use the noresize= "noresize" property.
Note that the:<frame> tag is an empty label and you need to add a "/" to conform to XHTML requirements.
About <noframe> Labels
The label only works if the browser does not support the frame structure, and since almost all Web browsers now support the frame structure, we are not going to introduce this tag here. If you want to know something about it, you can check the HTML manuals on the Web.
Framework structure and DTD
The DTD for the frames page differs from the General Web page. The Declaration method is as follows:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 frameset//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd" >