HTML框架标签

来源:互联网 发布:我的淘宝主页打不开 编辑:程序博客网 时间:2024/06/05 01:58

1.frame = 框架

col  = colum = 列

row = row  = 行

2 . 内联框架

<iframe src = "i一个网址或者其他"></iframe>



<html>
<head>
<title>
这是主窗口
</title>
</head>
<frameset cols = "20%,*">
<frame src = "meun.html"frameborder="1">
<frame src = ""frameborder="1"name = "right">
</frameset>
</html>



<p><a href = "addbook.html" target = "right">添加图书</a></p>
<p><a href = "searchbook.html" target = "right">查询图书</a></p>





这是添加图书的页面
<br>
<iframe src = "http://www.qq.com"width="100%"height="100%"frameborder = "0"> 




这是查询图书的页面



<html>
<head>
<title>这是框架的测试页</title>
<frameset cols = "30%,*">
    <frame src = "">
    <frameset  rows = "50%,*">
    <frame src = "">
    <frame src = "">
</frameset>
</frame>
</head>
</html>

0 0