zoukankan      html  css  js  c++  java
  • frame框架标签

    主页

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>hello world~</title>
    </head>
    <!-- 框架标签与 <body>标签 互斥 (把body标签删除掉)
    frameset : 定义一个框架
    rows: 将框架按照行(横着分)分隔
    cols: 将框架按照列(竖着分)分隔
    frame: 指定框架的页面
    src:指定显示页面的路径
    noresize:不能调整框架大小
    scrolling:是否显示滚动条yes no auto .
    frameborder: 是否显示边框 0(无边框) 1(有边框)

    注: 在html中,当属性的键和值完全一样时,可以忽略属性的值.
    -->
    <frameset rows="30%,70%" >
    <frame src="top.html" noresize frameborder="0" />
    <frameset cols="30%,*" >
    <frame src="left.html" noresize frameborder="0" />
    <frame src="main.html" name="abc" noresize scrolling="no" frameborder="0" />
    </frameset>
    </frameset>
    </html>

    左标签 left.html

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>hello world~</title>
    </head>
    <body>
    <!-- target属性用法2:
    如果想在框架中指定在哪个框架页显示 ,那么该值填写 框架名称.

    -->
    <a href="../06-图形标签.html" target="abc" >员工管理</a><br/>
    <a href="../07-超链接.html" target="abc" >超链接标签</a><br/>
    <br/>
    </body>
    </html>

    main.html

    <html>
    <head>
    <title>hello world~</title>
    </head>
    <body>
    hello world!<br/>
    hello world!
    </body>
    </html>

    top.html

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>hello world~</title>
    </head>
    <body>
    <h1>xxx管理系统</h1>
    </body>
    </html>

  • 相关阅读:
    Yii中CreateUrl的使用总结
    scite配置文件及常用设置
    smarty中判断数组是否为空的方法
    Notepad++添加插件Funtion List 支持PHP
    类的例子1
    class的使用
    lambda 的使用汇总
    作用域
    模块的整理汇总
    函数使用的健壮性
  • 原文地址:https://www.cnblogs.com/nextgg/p/7646373.html
Copyright © 2011-2022 走看看