The frameset page is somewhat different from the common web pages. Although it still starts with <HTML> and <HEAD> tags containing titles and other scripts, its content is simply the layout design of each page that represents. Therefore, there is no longer a need to have a <BODY> element, just a <frameset> tag.
Properties introduction border: Set the frame's border thickness.bordercolor: Sets the border color of the frame.
frameborder: Set whether to display frame borders. The setting values are only 0 and 1; 0 means there is no border, and 1 means there is a border to be displayed.
cols: split the page vertically. There are three ways to represent the numerical value: 30%, 30 (or 30px), and the number of numerical values represents the number of windows divided into and separated by values. 30% means that the frame area accounts for 30% of all browser page areas; 30 means that the horizontal width of the area is 30 pixels; it means that the area occupies the remaining page space. For example: cols=25%,200,* means that the page is divided into three parts, the left part accounts for 25% of the page, the middle horizontal width is 200 pixels, and the rest of the page is the right part.
rows: Split the page horizontally. The numerical representation method and meaning are the same as cols.
framespacing: Sets the retained gap between the frame and the frame.
usage Let's take a look at this code: XML/HTML Code Copy content to clipboard