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
Table of contents 1. Developer Platform Configura...
We all know that we need to understand the proper...
Automated project deployment is more commonly use...
1. Install Docker First open the Linux environmen...
-9999 px image replacement technology has been pop...
Table of contents What is Docker Client-side Dock...
PCIE has four different specifications. Let’s tak...
This article shares the specific code for impleme...
Preface Recently I encountered a requirement, whi...
I just started learning about databases recently....
Copy code The code is as follows: <pre> <...
Table of contents 1. What is a closure? 2. The ro...
There were always problems when installing tortoi...
This article uses examples to describe common ope...
React project building can be very simple, but if...