将多个html文件合并一个文件的方法:首先新建一个【X.html】文件;然后在【X.html】主题循环加入iframe标签,代码为【<iframe name=iframe1 marginwidth=0 marginheight=0.】。
本教程操作环境:windows7系统、html5版,DELL G3电脑,该方法适用于所有品牌电脑。
<iframe name=iframe1 marginwidth=0 marginheight=0 width=100% height=“600” src=你的XXX.html文件(例如:D:\a.html) frameborder=0></iframe>
<iframe name=iframe2 marginwidth=0 marginheight=0 width=100% height=“600” src=你的XXX.html文件(例如:D:\b.html) frameborder=0></iframe>
<iframe name=iframe3 marginwidth=0 marginheight=0 width=100% height=“600” src=你的XXX.html文件(例如:D:\c.html) frameborder=0></iframe>
相关学习推荐:html视频教程
原文地址:https://www.jb51.cc/html/1207132.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。