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>
结果:
(四)标签框架

 

 

相关文章:

  • 2022-12-23
  • 2022-02-09
  • 2021-09-14
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-27
  • 2021-12-03
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
相关资源
相似解决方案