内容 |
代码如下: <html> <!--混合框架的布局: 要想实现复杂的页面布局,只需在<frameset>标签中在使用<frameset>标签,然后通过cols,rows属性进行设置就ok了--> <framesetrows="50%,50%"> <framesrc="02图片标签.html"name="top"> <framesetcols="25%,75%"> <framesrc="frame_a.html"> <framesrc="02图片标签.html"name="right"> </frameset> </frameset> </html> frame_a.html 代码如下: <html> <head></head> <!--a标签中target属性指向框架集合中的元素frame target的值就是frame标签中name的值--> <body> <ahref="http://www.***"target="top">官网</a> <ahref="http://www.***.com"target="right">搜索</a> </body> </html> |