html5-6 Frame框架窗口类型
html5-6? Frame框架窗口類型
一、總結(jié)
一句話總結(jié):
?
1、點左側(cè)的a鏈接如何打開右側(cè)頁面?
<a href='user/index.html' target='right'><button>查看用戶</button></a>
?
2、如何在一個窗口中退出到最外層的窗口?
<a href="login.html" target='_top'><button>退出</button></a>
?
3、frame框架的形式是什么樣的?
frameset+frame的形式
<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>
?
?
?
二、Frame框架窗口類型
1、相關(guān)知識
iframe內(nèi)嵌框架:
<iframe src="http://localhost/web" frameborder="0"></iframe>
frame框架:
<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>
點左側(cè)的a鏈接如何打開右側(cè)頁面:
<a href='user/index.html' target='right'><button>查看用戶</button></a>
如何在一個窗口中退出到最外層的窗口:
<a href="login.html" target='_top'><button>退出</button></a>
2、截圖
?
?
3、代碼
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>?
?
?
?
?
?
?
?
?
轉(zhuǎn)載于:https://www.cnblogs.com/Renyi-Fan/p/9216866.html
總結(jié)
以上是生活随笔為你收集整理的html5-6 Frame框架窗口类型的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 每日一学(一)
- 下一篇: LeetCode之Weekly Cont