HTML中Frame与body的结构关系是什么

麻烦举个例子

第1个回答  推荐于2017-10-07
frame是框架,body是网页主体。看下面的代码:
<html>
<head><title>主页</title>
</head>
<frameset rows="100,*" cols="*" framespacing="0" frameborder="no" border="0" id=top >
<frame src="top1.html" name="topframe" scrolling="no" noresize id="topframe">
<frameset cols="176,*" framespacing="0" frameborder="no" border="0">
<frame src="menu.jsp" name="Menuframe" scrolling="yes" noresize id="Menuframe">
<frame src="workspace.html" scrolling="auto" name="main">
</frameset>
</frameset>
<noframes>
<body></body>
</noframes>
</html>
上面代码把整个网页分成了3个框架,上,左,右。而body在<noframes>里。本回答被提问者采纳
第2个回答  2010-07-28
frame就像接口,可以把其他网页引入进来,
body 是一个网页必须要的内容

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网