20.5. HTML嵌套框架
框架可以嵌套,可以实现网页的分层。
引用网址:http://www.dreamdu.com/xhtml/frames_nest/
<framesetrows="20%, *, 15%"><framesrc="http://www.dreamdu.com/xhtml/exe_framesetnest/top/"/><framesetcols="20%, *"><framesrc="http://www.dreamdu.com/xhtml/exe_framesetnest/siderbar/"/><framesrc="http://www.dreamdu.com/xhtml/"name="show"/></frameset><framesrc="http://www.dreamdu.com/xhtml/exe_framesetnest/bottom/"/><noframes><body><p>梦之都使用了框架技术,但是您的浏览器不支持框架,请升级您的浏览器以便正常访问梦之都。</p></body></noframes></frameset>
上面是一个经典的示例,定义了三行两列的框架。一个页面通常分为上部,中部与下部,而中部又分为左侧导航与右侧内容。