A window with frames to display multiple pages
<frameset></frameset> is used to define how many frames are in the frameset and how each frame is arranged!
<frameset></frameset> tags are nested in For example, the following code is wrong:Example one:
Example two:
Properties:
Property name |
function |
Rows |
Divided into several lines, can be pixel values can also be% ratio Example: rows= "20,30%,*,*" after two * split |
Cols |
Divided into several lines, can be pixel values can also be% ratio Example: cols= "20,30%,*,*" after two * split |
Border |
Width of each border |
Frameborder |
Whether to display a border, the value is: "1", "0", "no", "yes" |
>
<frame></frame> is placed between <frameset></frameset> to define specific frame windows.
Property name |
function |
Scr |
Set initial display of the Web page |
Name |
frame window Name |
Scrolling |
Whether to display scroll bars. The default is: auto, yes, no |
Noresize |
Can I use the mouse to change the size of the frame |
<noframe></noframe> to display text in browsers that do not support <frame></frame>
For example, the following:<noframe>
<body>
<p> This is a frame window, but your browser does not support! </p>
</body>
</noframe>
at this point, if the browser does not support the frame will display the above text!
<iframe></iframe> does not need to be placed in <frameset></frameset>, whose properties are the same as <frame></frames> for example :
code as follows |
effect is as follows |
<iframe Bor der=0 src= "Http://www.jb51.net" > |
|