第六天

xiaoxiao2025-10-19  5

关于框架 1.<frameset cols="%.%.%"roes="%.%.% “border=“”值"bordercolor=“颜色”> <frame src="路径"> <frame src="路径"> <frame src="路径"noresize=“noresize”> </frameset><!--cols横向分割,rows纵向分割 noresize框架不可拉伸--> <hr> <iframe src="路径"allowtransparency="true" > <!--浮动窗口 透明浮动窗口--> </iframe> <hr> 代码示例: <!doctype html> <html> <head> <meta charset="utf-8"> <title>无标题文档</title> <frameset rows="50%,50%"cols="50%,50%"frameborder="1"border="4px"bordercolor="#1AEF5A"> <frame src="Untitled-1.html"> <frame src="函数一.html"> </frame> <frame src="函数的返回.html"> </frame> <frame src="文字.html"> </frame> </frameset><noframes></noframes> </frameset> </head> <body> </body> </html>
<!doctype html> <html> <head> <meta charset="utf-8"> <title>无标题文档</title>`在这里插入代码片` <h1>这是一个课表</h1> <iframe src="biao.html"allowtransparency="true"></iframe> </head> <body> </body> </html>
转载请注明原文地址: https://www.6miu.com/read-5038216.html

最新回复(0)