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>

  • 相关阅读:
    python开发初识函数:函数定义,返回值,参数
    py基础2--列表,元祖,字典,集合,文件
    python中的urlencode与urldecode
    使用pymysql进行mysql数据库操作
    docker 命令
    docker镜象
    docker的安装
    JS中的prototype(原文地址:http://www.cnblogs.com/yjf512/archive/2011/06/03/2071914.html)
    linux远程复制和压缩文件的命令
    rosbag 初尝试
  • 原文地址:https://www.cnblogs.com/nextgg/p/7646373.html
Copyright © 2011-2022 走看看