Frameset pages are somewhat different from ordinary Web pages. Although it still starts with <HTML> and the <HEAD> tag containing the title and other scripts, its content only represents the layout design of each page. Therefore, there is no need for a <BODY> element anymore, only a <frameset> tag. Attribute Introduction bordercolor: Sets the border color of the frame. frameborder: Set whether to display the frame border. The setting values are only 0 and 1; 0 means no border, 1 means to display the border. cols: Splits the page vertically. There are three ways to express the value: "30%, 30 (or 30px),"; the number of values represents the number of windows and the values are separated by ",". "30%" means that the frame area occupies 30% of the total browser page area; "30" means that the horizontal width of the area is 30 pixels; "" 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 occupies 25% of the page, the horizontal width of the middle is 200 pixels, and the rest of the page is the right part. rows: Divide the page horizontally. The numerical representation method and meaning are the same as cols. framespacing: Set the blank space reserved between frames. usage XML/HTML CodeCopy content to clipboard
This code means: a two-column frameset is set, the width of the left column is 180px, and noresize means the width remains fixed. So, how do you use frame navigation to jump to a specified section? The following code is the navigation frame on the left: XML/HTML CodeCopy content to clipboard
These links target the second frame. The second frame displays the linked document. A navigation frame in which links point to specified sections in the target file. Let’s take a closer look at this example: XML/HTML CodeCopy content to clipboard
The layout and the effects of each part of the selection area using js are as follows: |
<<: JavaScript form validation example
>>: How to use Portainer to build a visual interface for Docker
I slept late yesterday and was awake the whole da...
Many people may ask, does the text on the website...
The development of Docker technology provides a m...
Table of contents 1. Basic conditions for databas...
This article introduces how to monitor the ogg pr...
This article shares the specific code of using ca...
Let's talk about some problems I have encounte...
Today's Tasks 1. Choice of Linux distribution...
Install Nginx on Docker Nginx is a high-performan...
Table of contents Method 1: Routing meta informat...
Table of contents 1. Project Integration 1. CDN i...
Table of contents 1. What is the use of provide/i...
To achieve the background color flashing effect, j...
This article example shares the specific code of ...
vue+el-upload multiple files dynamic upload, for ...