用frameset实现复杂的页面布局技巧小结

2023-12-02 0 826

复制代码代码如下: <html> <!–混合框架的布局: 要想实现复杂的页面布局,只需在<frameset>标签中在使用<frameset>标签,然后通过cols,rows属性进行设置就ok了–> <frameset rows=\”50%,50%\”> <frame src=\”02图片标签.html\” name=\”top\”> <frameset cols=\”25%,75%\”> <frame src=\”frame_a.html\”> <frame src=\”02图片标签.html\” name=\”right\”> </frameset> </frameset> </html> frame_a.html 复制代码代码如下: <html> <head></head> <!–a标签中target属性指向框架集合中的元素frame target的值就是frame标签中name的值–> <body> <a href=\”http://www.itheima.com\” target=\”top\”>官网</a> <a href=\”http://www.baidu.com\” target=\”right\”>百度</a> </body> </html>

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 网站设计心得 用frameset实现复杂的页面布局技巧小结 https://www.u-9.cn/sheji/xinde/28450.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务