zoukankan      html  css  js  c++  java
  • (四)标签框架

    1. <frameset>:框架标签
    属性:
    • cols : 设置列的数目和尺寸。

    <html>

    <frameset cols="50%,20%,*"> //表示页面分为三列,每列一个页面,第一个页面50%比例。
    <frame src="top.htm" >
    <frame src="top.htm" >
    <frame src="top.htm" >
    </frameset>
    </html>
    // 不能与 <frameset></frameset> 标签一起使用 <body></body> 标签。不能把<frameset>放在<body>内

    • 行的数目和尺寸。
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <base href="http://localhost:8080/test/study/">
    <title>Insert title here</title>
    </head>
    	<frameset rows="50%,50%">
    		<frame src="frameA.html">
    		<frameset cols="25%,75%">
    				<frame src="frameB.html">
    				<frame src="frameC.html">
    		</frameset>
    	</frameset>
    </html>
    结果:
  • 相关阅读:
    css资料汇总
    typescript 点滴
    vue-cli3点滴
    item2的使用方法推介
    rfc文档
    websocket
    g2
    常用的正则积累
    Vue-20190623点滴
    写一个webpackLoader
  • 原文地址:https://www.cnblogs.com/shyroke/p/6429334.html
Copyright © 2011-2022 走看看