HTML的框架有哪些优点-大悟县灿优商贸网站建设

关于灿优商贸

多方位宣传企业产品与服务 突出企业形象

公司简介 公司的服务 荣誉资质 新闻动态 联系我们

HTML的框架有哪些优点

这篇文章主要讲解了“HTML的框架有哪些优点”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“HTML的框架有哪些优点”吧!

创新互联公司是一家以成都网站建设、网页设计、品牌设计、软件运维、seo优化、小程序App开发等移动开发为一体互联网公司。已累计为护栏打桩机等众行业中小客户提供优质的互联网建站和软件开发服务。

通过使用框架,你可以在同一个浏览器窗口中显示不止一个页面。每份HTML文档称为一个框架,并且每个框架都独立于其他的框架。

使用框架的坏处:

开发人员必须同时跟踪更多的HTML文档

很难打印整张页面

框架结构标签()

框架结构标签()定义如何将窗口分割为框架

每个 frameset定义了一系列行或列

rows/columns的值规定了每行或每列占据屏幕的面积

框架标签(Frame)

Frame标签定义了放置在每个框架中的 HTML文档。

在下面的这个例子中,我们设置了一个两列的框架集。第一列被设置为占据浏览器窗口的 25%。第二列被设置为占据浏览器窗口的 75%。HTML文档 "frame_a.htm"被置于第一个列中,而 HTML文档 "frame_b.htm"被置于第二个列中:

假如一个框架有可见边框,用户可以拖动边框来改变它的大小。为了避免这种情况发生,可以在 标签中加入:noresize="noresize"。

为不支持框架的浏览器添加 标签。</p><p>iframe用于在网页内显示网页</p><p>添加 iframe的语法</p><p><iframe src="URL"></iframe></p><p>URL指向隔离页面的位置。</p><p>Iframe -设置高度和宽度</p><p>height和 width属性用于规定 iframe的高度和宽度。</p><p>属性值的默认单位是像素,但也可以用百分比来设定(比如 "80%")。</p><p>实例</p><p><iframe src="demo_iframe.htm" width="200" height="200"></iframe></p><p>Iframe -删除边框</p><p>frameborder属性规定是否显示 iframe周围的边框。</p><p>设置属性值为 "0"就可以移除边框:</p><p>实例</p><p><iframe src="demo_iframe.htm" frameborder="0"></iframe></p><p>使用 iframe作为链接的目标</p><p>iframe可用作链接的目标(target)。</p><p>链接的 target属性必须引用 iframe的 name属性:</p><p>实例</p><p><iframe src="demo_iframe.htm" name="iframe_a"></iframe><p><a href="http://www.w3school.com.cn" target="iframe_a">W3School.com.cn</a></p></p><p>感谢各位的阅读,以上就是“HTML的框架有哪些优点”的内容了,经过本文的学习后,相信大家对HTML的框架有哪些优点这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是创新互联,小编将为大家推送更多相关知识点的文章,欢迎关注!</p> <br> 分享名称:HTML的框架有哪些优点 <br> 文章转载:<a href="http://www.apyobr.com/article/pjdseo.html">http://www.apyobr.com/article/pjdseo.html</a> </div> </div> <div class="other"> <h3>其他资讯</h3> <ul> <li> <a href="/article/jcidjs.html">使用SqlBulkCopy时为注意Sqlserver表中使用缺省值的列的示例分析</a> </li><li> <a href="/article/jcidjg.html">Reactor模型与Proactor模型的区别是什么</a> </li><li> <a href="/article/jcidgd.html">Linux下远程连接MySQL数据库的方法</a> </li><li> <a href="/article/jcidpp.html">ES6箭头函数、rest参数、扩展运算符和Symbol如何使用</a> </li><li> <a href="/article/jcidoe.html">使用linux的shuf命令产生随机的排列</a> </li> </ul> </div> </div> <div class="line"></div> <!--底部--> <footer id="5"> <div class="foot1 container"> <div class="list"> <div class="item"> <a href="javascript:;"> <span class="ico1"><i class="iconfont">&#xe661;</i><img src="/Public/Home/img/ewm.png" alt=""></span> <strong>关注我们</strong> </a> </div> <div class="item"> <a href="" target="_blank"> <span><i class="iconfont">&#xe63c;</i></span> <strong>索要报价</strong> </a> </div> <div class="item"> <a href="" target="_blank"> <span><i class="iconfont">&#xe624;</i></span> <strong>我要咨询</strong> </a> </div> <div class="item"> <a href="" target="_blank"> <span><i class="iconfont">&#xe63e;</i></span> <strong>找到我们</strong> </a> </div> <div class="item"> <a href="" target="_blank"> <span><i class="iconfont">&#xe6cb;</i></span> <strong>投诉建议</strong> </a> </div> </div> <div class="tel"> <dl> <tel><a href="tel:18982081108" target="_blank">18982081108</a></tel><br> <span>也许您需要专业的服务,欢迎来电咨询</span> </dl> <dl> <tel><a href="tel:18980820575" target="_blank">18980820575</a></tel><br> <span>您的需求,是我们前进的动力</span> </dl> </div> </div> <div class="friend"> <div class="container"> <span class="tit">友情链接:</span> <div class="inner"> <a href="https://www.cdcxhl.com/qiye.html" target="_blank">成都企业网站建设</a><a href="https://www.cdcxhl.com/waimao.html" target="_blank">外贸网站建设公司</a><a href="https://www.cdcxhl.com/h5.html" target="_blank">h5页面制作</a><a href="https://www.cdcxhl.com/mobile.html" target="_blank">手机网站制作</a><a href="https://www.cdcxhl.com/mobile.html" target="_blank">成都手机网站制作</a><a href="https://www.cdcxhl.com/shop.html" target="_blank">成都商城网站建设</a><a href="https://www.cdcxhl.com/pinpai.html" target="_blank">品牌网站建设公司</a><a href="https://www.cdcxhl.com/hangyead/" target="_blank">一元广告</a><a href="https://www.cdcxhl.com/jigui/" target="_blank">机柜租用</a><a href="https://www.cdcxhl.com/xiangyingshi.html" target="_blank">响应式网站设计</a><a href="https://www.cdcxhl.com/ruanwen/" target="_blank">营销软文</a><a href="https://www.cdcxhl.com/sosuo.html" target="_blank">网站搜索引擎优化</a><a href="https://www.cdcxhl.com/app.html" target="_blank">成都app软件开发</a><a href="https://www.cdcxhl.com/" target="_blank">成都建站</a><a href="https://www.cdcxhl.com/" target="_blank">网站建设</a><a href="https://www.cdcxhl.com/hangyead/" target="_blank">广告投放平台</a><a href="https://www.cdcxhl.com/" target="_blank">成都建站公司</a><a href="https://www.cdcxhl.com/" target="_blank">成都网站制作公司</a> </div> </div> </div> <div class="foot"> <div class="container"> <div class="footNav"> <h3>网站建设</h3> <a href="http://www.kswcd.com/solution/" target="_blank">网站建设方案</a><a href="https://www.cdcxhl.com/mianfei/jianshe/chengdu.html" target="_blank">成都免费网站建设</a><a href="https://www.cdxwcx.com/city/deyang/" target="_blank">德阳网站建设</a> </div> <div class="footNav"> <h3>服务器托管</h3> <a href="http://www.cdxwcx.cn/tuoguan/mianyang.html" target="_blank">绵阳托管服务器</a><a href="https://www.cdcxhl.com/idc/xixin.html" target="_blank">西信服务器托管</a><a href="https://www.cdcxhl.com/jigui/" target="_blank">服务器机柜租用</a> </div> <div class="footNav"> <h3>网站制作</h3> <a href="http://chengdu.cdxwcx.cn/wangzhan/" target="_blank">手机网站制作</a><a href="http://www.cdxwcx.cn/" target="_blank">成都网站制作</a><a href="http://www.myzitong.com/" target="_blank">梓潼网站制作公司</a> </div> <div class="footNav"> <h3>企业服务</h3> <a href="https://www.cdcxhl.com/shoulu/" target="_blank">网站免费收录</a><a href="https://www.cdcxhl.com/service/service.html" target="_blank">工商服务</a><a href="https://www.cdcxhl.com/ruanwen/" target="_blank">软文发布</a> </div> <div class="fr ecode"> <div class="fl"> <img src="/Public/Home/img/ewm.jpg"> <p>关注企业微信</p> </div> <div class="fr slogan"> <p class="icon"> <a class="ph" href=""><i class="iconfont">&#xe68d;</i></a> <a class="qq" href="tencent://message/?uin=1683211881&amp;Site=&amp;Menu=yes"><i class="iconfont">&#xe612;</i></a> </p> <p> <i>想要找 </i> <a href="https://www.cdcxhl.com/xiaochengx.html">小程序开发</a>、<a href="https://www.cdcxhl.com/app.html">APP开发</a>、 <a href="https://www.cdcxhl.com/yingxiao.html">营销型网站建设</a>、<a href="https://www.cdxwcx.com/">网站建设</a>、 <i><a href="https://www.cdcxhl.com/wangzhandingzhi.html">网站定制开发</a></i> ,就选<a href="http://www.apyobr.com/">灿优商贸</a> </p> </div> </div> </div> <div class="bottom container"> <p class="fl"> 版权所有:大悟县灿优商贸有限公司 备案号:<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">鄂ICP备2025125667号-8</a> 服务热线:18982081108 </p> <p class="fr"> <a href="https://www.cdxwcx.com/" target="_blank">成都网站建设</a>: <a href="https://www.cdcxhl.com/" target="_blank">创新互联</a> </p> </div> </div> </footer> <!--在线咨询--> <div class="fot"> <ul> <li> <a href="#" target="_blank"> <img src="/Public/Home/img/fot1.png" alt=""> <p>在线咨询</p> </a> </li> <li> <a href="tel:18980820575" target="_blank"> <img src="/Public/Home/img/fot2.png" alt=""> <p>拨打电话</p> </a> </li> </ul> </div> </body> </html> <script> $(".con img").each(function(){ var src = $(this).attr("src"); //获取图片地址 var str=new RegExp("http"); var result=str.test(src); if(result==false){ var url = "https://www.cdcxhl.com"+src; //绝对路径 $(this).attr("src",url); } }); window.onload=function(){ document.oncontextmenu=function(){ return false; } } </script>