Common properties of frameset (dividing frames and windows)

Common properties of frameset (dividing frames and windows)
A frame is a web page screen divided into several frames (different windows correspond to different pages displayed in the form of several web pages), and multiple src addresses are obtained at the same time. All frame tags of the page need to be placed in a general HTML file. This file only records how the frame is divided and will not display any information, so there is no need to put in the <BODY> tag. To browse this frame, you must read this file instead of the files of other frames.

<FRAMESET> is used to divide window frames. Each window frame is marked by a <FRAME> tag. <FRAME> must be used within the scope of <FRAMESET>.

name="..." Defines the name of the frame scr="..." Defines the source of the content displayed in the frame frameborder="..." Defines the border between frames (0 or 1)
margwidth="..." sets the spacing between the border of the frame and its contents margheight="..." sets the spacing between the border of the frame and its contents noresize="..." makes the frame size immutable scrolling="..." sets the scroll bar representation (auto, yes, no)


rows="..." Set the number of rows cols="..." Set the number of columns onload="..." Internal event trigger when loading the document onunload="..." Internal event trigger when unloading the document

SRC="a.html"
Set the name of the web page file to be displayed in this frame. Each frame must correspond to a web page file.

NAME="top"
Set the name of this frame window, so that you can specify the frame to link to. It must be named arbitrarily.

frameborder=0
Set the border of the frame. Its value is only 0 and 1. 0 means no border, and 1 means border.

framespacing="6"
Indicates the distance of the blank space reserved between frames.

bordercolor="#008000"
Sets the frame border color.

scrolling="Auto"
Set whether to display the scroll bar. YES means to display the scroll bar, NO means not to display the scroll bar at all, and AUTO depends on the situation.

noresize
This setting does not allow users to change the size of this frame. If this parameter is not set, users can drag the frame to change its size at will.

marginhight=5
Indicates the space reserved at the edge of the frame's height portion.

marginwidth=5
Indicates the space reserved at the edge of the frame width.

noresize="no" does not allow dragging

<<:  How to set the style of ordered and unordered list items in CSS

>>:  MySQL query method with multiple conditions

Recommend

Implementation of CSS equal division of parent container (perfect thirds)

The width of the parent container is fixed. In or...

How to hide the version number and web page cache time in Nginx

Nginx optimization---hiding version number and we...

Hide HTML elements through display or visibility

Sometimes we need to control whether HTML elements...

How to install mysql5.6 in docker under ubuntu

1. Install mysql5.6 docker run mysql:5.6 Wait unt...

Detailed explanation of the practical use of HTML table layout

When is the table used? Nowadays, tables are gene...

Detailed explanation of how to solve the problem of too long content in CSS

When we write CSS, we sometimes forget about the ...

Sample code for implementing Alipay sandbox payment with Vue+SpringBoot

First, download a series of things from the Alipa...

Sample code for testing technology application based on Docker+Selenium Grid

Introduction to Selenium Grid Although some new f...

How to create, save, and load Docker images

There are three ways to create an image: creating...

IE8 compatibility notes I encountered

1. IE8's getElementById only supports id, not ...

How to create LVM for XFS file system in Ubuntu

Preface lvm (Logical Volume Manager) logical volu...

JS, CSS style reference writing

CSS: 1. <link type="text/css" href=&q...

How to quickly add columns in MySQL 8.0

Preface: I heard a long time ago that MySQL 8.0 s...

CSS to achieve zoom in and out close button (example code)

This effect is most common on our browser page. L...