Frame frame window type (August 3 missing Essay)

Reprinted from https://www.cnblogs.com/Renyi-Fan/p/9216866.html

table of Contents

 

 

> A summary (click to show or hide the summary content)

Sentence summary:

 

1, point to the left of a link on how to open the right side of the page?

<a href='user/index.html' target='right'><button>查看用户</button></a>

 

2, how to exit to the outermost window in a window?

<a href="login.html" target='_top'><button>退出</button></a>

 

3, in the form of frame framework is what?

frameset + frame form

<frameset rows="60,*" frameborder='1' border='1px'>        
    <frame src='top.html' name='top'>
    <frameset cols='100,*'>
        <frame src='left.html' name='left' noresize>
        <frame src='right.html' name='right'>
    </frameset>
</frameset>

 

 

 

Two, Frame Type window frame

1, Knowledge

iframe inline frame:
<iframe the src = "HTTP: // localhost / Web" frameborder = "0"> </ iframe>

Frame frame:
<frameset rows = "60, *" frameborder = '. 1' border = '1px' >        
    <Frame the src = 'the top.html' name = 'Top'>
    <frameset cols = '100, *'>
        <Frame the src = 'left.html' name = 'left' noresize>
        <Frame the src = 'right.html 'name =' right '>
    </ frameset>
</ frameset>

dot to the left of the right page how to open a link:
<a href='user/index.html' target='right'> <Button> to view the user < / button> </a>

how to exit in a window to the outermost window:
<a href="login.html" target='_top'> <Button> exit </button></a>

2, screenshots

 

 

3, Code

Copy the code
 1 <!doctype html>
 2 <html lang="en">
 3 <head>
 4     <meta charset="UTF-8">
 5     <title>index</title>
 6 </head>
 7 <frameset rows="60,*" frameborder='1' border='1px'>        
 8     <frame src='top.html' name='top'>
 9     <frameset cols='100,*'>
10         <frame src='left.html' name='left' noresize>
11         <frame src='right.html' name='right'>
12     </frameset>
13 </frameset>
14 </html>
Copy the code

Guess you like

Origin www.cnblogs.com/yanyanstyle/p/11298008.html