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>

  • 相关阅读:
    mysql 安装
    flying-saucer-pdf使用中字符串过长换行出问题的解决办法
    杂想
    关于MATLAB实验结果求交点问题
    关于学习方向问题
    关于读取文件夹中的图片问题
    关于ROC曲线的碎碎念
    win7(64)+vs2013+opencv3.0配置的辛酸路程
    验证模式和辨识模式
    指纹识别认证
  • 原文地址:https://www.cnblogs.com/nextgg/p/7646373.html
Copyright © 2011-2022 走看看