zoukankan      html  css  js  c++  java
  • __x__(46)0910第六天__框架集

     框架集frameset 和 内联框架iframe 的作用类似:

    在一个页面中,引入其他的外部html页面。

    框架集可以同时引入多个页面。

     

    在 html5 中,推荐使用框架集,而不推荐使用iframe.

     

    <frameset></frameset> 

    • 不能和 body 同时出现在一个代码中。
    • 不推荐使用,因为搜索引擎无法判断一个 frameset 的页面。
    • 使用 frameset 意味着页面中只能引入其他页面,不能有自己的内容。
    • 每一个页面,浏览器都需要发送一次请求,访问速度较慢。

     


    效果图:


    html代码:

    <!doctype html>
    <html>
        <head>
            <meta charset="utf-8" />
            <title>frameset</title>
        </head>
        
        <!-- 在 frameset 中使用 frame 来引入其他页面,一个frame一个html -->
        <!-- 
            frameset 必须选择一个属性,且必须指定百分比
                指定rows属性,一行一行排列;
                指定cols属性,一列一列排列。
        -->
        <frameset cols="20%,*,30%">
            <frame src="table.html" />
            
            <frameset rows="33%,33%,*">
                <frame src="hncu.html" />
                <frame src="form.html" />
                <frame src="" />
            </frameset>
            
            <frame src="longtable.html" />
        </frameset>
    </html>

     

    --------小尾巴 ________一个人欣赏-最后一朵颜色的消逝-忠诚于我的是·一颗叫做野的心.决不受人奴役.怒火中生的那一刻·终将结束...
  • 相关阅读:
    Flash性能相关
    穿过某点绘制曲线
    oracle 动态列
    oracle 失效对象自动重新编译
    EBS 重新编译无效对象 invalid object
    oracle ebs Customer Info
    Oracle Customer Contacts Info
    Report Builder中的页码问题
    APPFND01564 ORA6502,ORA06512 in afscpcon IE 9
    EBS中发送电子邮件
  • 原文地址:https://www.cnblogs.com/tianxiaxuange/p/9620043.html
Copyright © 2011-2022 走看看