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
There are many tags in XHTML, but only a few are ...
Today I learned a new CSS special effect, the wav...
The creation of the simplest hello world output i...
/****************** * Kernel debugging technology...
Table of contents defineComponent overload functi...
I recently discussed "advertising" with...
Docker installation 1. Requirements: Linux kernel...
MySQL InnoDB monitoring (system layer, database l...
Today, let's introduce several common text pr...
1. Time formatting and other methods It is recomm...
Today I will take you through the history of ext4...
I have read an article written by the Yahoo team ...
How can you forget lazy loading of routes that al...
Hello everyone, I am Tony, a teacher who only tal...
Table of contents Overview Four examples Example ...