Use frames to display multiple web pages in one window
Example 1: <html> <body> <frameset cols="30%,*"> <frame> <frame> </frame> </body> </html>
Example 2: <html> <frameset cols="30%,*"> <body> <frame> <frame> </body> </frame> </html>
Attribute name | Zuo Use |
---|---|
rows | Divided into several rows, it can be pixel value or % ratio Example: rows="20,30%,*,*"The last two * are equally divided |
cols | Divided into several lines, it can be pixel value or % ratio Example: cols="20,30%,*,*"The last two * are equally divided |
border | Width of each border |
frameborder | Whether to display the border, the values are: "1","0","no","yes" |
effect | |
---|---|
Set the initial displayed web page | |
Frame window name | |
Whether to display scroll bars. The default is: auto, which can be yes or no | |
Is it possible to change the frame size by dragging with the mouse | |
code show as below | The effect is as follows |