网站建设资讯

NEWS

网站建设资讯

怎么用HTMLframe标签-创新互联

怎么用HTML frame标签?针对这个问题,这篇文章详细介绍了相对应的分析和解答,希望可以帮助更多想解决这个问题的小伙伴找到更简单易行的方法。

成都创新互联公司网站建设服务商,为中小企业提供网站制作、成都做网站服务,网站设计,网站托管等一站式综合服务型公司,专业打造企业形象网站,让您在众多竞争对手中脱颖而出成都创新互联公司

首先我们先看看HTML frame标签的用法:

标签定义 frameset 中的一个特定的窗口(框架)。

frameset中的每个框架都可以设置不同的属性,比如border、scrolling、noresize等等。

注释:如果您希望验证包含框架的页面,请确保doctype被设置为"Frameset DTD"。阅读更多有关 DOCTYPE 的内容。

提示:您不能与 标签一起使用标签。不过,如果您需要为不支持框架的浏览器添加一个标签,请务必将此标签放置在<body></body>标签中!</p><p><frame>标签定义frameset中的一个特定的窗口(框架)。</p><p>frameset中的每个框架都可以设置不同的属性,比如border、scrolling、noresize等等。</p><p><strong>来看看这个关于frame标签的使用实例:</strong></p><pre><html> <frameset cols="25%,50%,25%"> <frame src="frame_a.htm" /> <frame src="frame_b.htm" /> <frame src="frame_c.htm" /> </frameset> </html></pre><p>因为frame_a(b、c)的页面都没建立,所以就不显示实例,大家都知道怎么用就好,</p><p><strong>看看frame标签中的属性的里面可以调的属性:</strong></p><ul><li><p>frameborder &nbsp;规定是否显示框架周围的边框。</p></li><li><p>longdesc URL 规定一个包含有关框架内容的长描述的页面。</p></li><li><p>marginheight pixels 定义框架的上方和下方的边距。</p></li><li><p>marginwidth pixels 定义框架的左侧和右侧的边距。</p></li><li><p>name name 规定框架的名称。</p></li><li><p>noresize noresize 规定无法调整框架的大小。</p></li><li><p>scrolling yes no auto 规定是否在框架中显示滚动条。</p></li><li><p>src URL 规定在框架中显示的文档的URL</p></li></ul><p><strong><frame>标签标准属性</strong></p><ul><li><p>class:元素的类名(值:classname)。</p></li><li><p>id:元素的唯一 id(值:id)。</p></li><li><p>style :元素的行内样式(值:style_definition)。</p></li><li><p>title:元素的额外信息(值:text)。</p></li></ul><p><strong>再来一个使用HTML frame标签的实例详情:</strong></p><pre><span style="font-size:18px;"><frameset cols="10%,*" frameborder="no" > <frame src="jsp/Left.jsp" name="Left"></frame> <frame src="jsp/Right.jsp" name="Right" id="Right"></frame> </frameset></span></pre><p>上文代码解释:frameset中可以设置框架样式。如果需要一个页面跳转到另一个页面那么建议使用<a>标签的target属性,target属性值等于要跳转的frame框架页的name。</p><p>关于怎么用HTML frame标签问题的解答就分享到这里了,希望以上内容可以对大家有一定的帮助,如果你还有很多疑惑没有解开,可以关注创新互联网站制作公司行业资讯频道了解更多相关知识。</p> <br> 分享标题:怎么用HTMLframe标签-创新互联 <br> 文章来源:<a href="http://cdweb.net/article/djscso.html">http://cdweb.net/article/djscso.html</a> </div> </div> <div class="other"> <h3>其他资讯</h3> <ul> <li> <a href="/article/epdjp.html">C语言如何实现音乐播放器-创新互联</a> </li><li> <a href="/article/epdoo.html">ex18运行提示报错,第10行-创新互联</a> </li><li> <a href="/article/epdhp.html">au工作区不见了Audition很多选项是灰色不可选的?-创新互联</a> </li><li> <a href="/article/epdej.html">LinuxPHP-创新互联</a> </li><li> <a href="/article/epdpg.html">如何设置css中表格标题caption标签的位置-创新互联</a> </li> </ul> </div> </div> </div> <footer> <div class="footop"> <div class="wrap"> <div class="bottomrpw"> <div class="erp arp"> <dl> <dt>ADDRESS</dt> <dd class="address"> <i class="icon"></i> <span class="word">成都市青羊区锦天国际1号楼1002室</span> </dd> </dl> </div> <div class="erp arp"> <dl> <dt>TEL</dt> <dd class="phonum"> <i class="icon"></i> <span class="word en"> <a href="tel:18980820575">18980820575</a> </span> </dd> </dl> </div> <div class="erp crp"> <dl> <dt>OTHER</dt> <dd> <a class="word get-quote">获得报价与方案</a> </dd> <dd> <a href="#" target="_blank" rel='nofollow' class="word" title="付款方式">付款方式</a> </dd> </dl> </div> <div class="erp code-rp"> <dl> <dt>Wechat</dt> <dd class="code-wrap"> <span class="code"> <img src="/Public/Home/images/qr-code.jpg" alt="快上网微信公众号" /> </span> </dd> </dl> </div> </div> </div> </div> <div class="footerbot"> <div class="friendlinks"> <div class="wrap"> <ul class="rpl"> <li><a href="http://www.cdhuace.com/fuwu.html" title="成都名片印刷厂" target="_blank">成都名片印刷厂</a></li><li><a href="http://www.024fuxl.com/" title="成都酒店服定制" target="_blank">成都酒店服定制</a></li><li><a href="http://www.cdxwcx.cn/tuoguan/yaan.html" title="四川雅安服务器托管" target="_blank">四川雅安服务器托管</a></li><li><a href="https://www.cdcxhl.com/tuoguan/yidong/" title="成都移动服务器托管" target="_blank">成都移动服务器托管</a></li><li><a href="http://www.36103.cn/weihu/" title="成都网站维护" target="_blank">成都网站维护</a></li><li><a href="https://www.cdcxhl.com/mianfei/zuo/chengdu.html" title="成都免费做网站" target="_blank">成都免费做网站</a></li><li><a href="http://m.cdcxhl.cn/wechat/" title="成都微信开发" target="_blank">成都微信开发</a></li><li><a href="http://www.hitbtccn.com/" title="草坪音箱" target="_blank">草坪音箱</a></li><li><a href="http://www.jljierui.cn/" title="时嘉做网站" target="_blank">时嘉做网站</a></li><li><a href="http://seo.cdkjz.cn/" title="网络推广" target="_blank">网络推广</a></li> </ul> </div> </div> <div class="wrap"> <div class="copyright"> <span class="en">©2007-2022</span> 成都快上网科技有限公司 <span class="en">ALL RIGHTS RESERVED.</span> <a rel="nofollow" href="http://www.miitbeian.gov.cn" target="_blank">蜀ICP备19037934号</a> </div> </div> </div> </footer> <div class="fcwrap"> <ul class="rpl clearfix"> <li class="phone"> <a rel="nofollow" target="_blank" href="tel:18980820575"> <i class="icon"></i> <strong>18980820575</strong> </a> </li> <li class="qq"> <a rel="nofollow" target="_blank" href="https://wpa.qq.com/msgrd?v=1&uin=244261566&site=qq&menu=yes"> <i class="icon"></i> <strong>244261566</strong> </a> </li> <li class="back-top"> <a href="javascript:void(0)" rel="nofollow" class="back-to-top"> <i class="icon"></i> <strong>回到顶部</strong> </a> </li> </ul> </div> <!--nav--> <div class="n-Wrap"> <div class="navBar visble show"> <div class="barlogo"> <a href="/" rel="nofollow"> <img src="/Public/Home/images/logo1.png" alt="成都做网站" /> <img src="/Public/Home/images/logo2.png" alt="成都网站设计" /> </a> </div> <div class="bmenu"> <i class="bar-top"><span></span></i> <i class="bar-cen"><span></span></i> <i class="bar-bom"><span></span></i> <i class="bar-left"><span></span></i> <i class="bar-right"><span></span></i> </div> </div> <section class="fixmenu"> <div class="close-bar"> <i class="bar-left"><span></span></i> <i class="bar-right"><span></span></i> </div> <nav class="smph"> <ul> <li class="index-hrefs on"><a href="http://www.cdweb.net/"><font>首页</font></a></li> <li><a href="/about/" rel="nofollow"><font>关于快上网</font></a></li> <li><a href="/service/" rel="nofollow"><font>服务范围</font></a></li> <li><a href="/case/" rel="nofollow"><font>案例展示</font></a></li> <li><a href="/solve/" rel="nofollow"><font>解决方案</font></a></li> <li><a href="/news/" rel="nofollow"><font>建站资讯</font></a></li> <li><a href="/contact/" rel="nofollow"><font>联系快上网</font></a></li> </ul> <div class="pwrap"> <span class="label">服务热线</span> <strong class="phone"><a href="tel:18980820575">18980820575</a></strong> </div> </nav> </section> </div> <!--end nav--> <script src="/Public/Home/js/hotcss.js"></script> <script type="text/javascript" src="/Public/Home/js/su_new.js"></script> </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>