Html代码:frameset-框架集元素

Html代码: frameset - 框架集元素

在HTML中,frameset元素用于创建包含多个框架的框架集。框架集允许将浏览器窗口分割成多个独立的区域,每个区域可以加载不同的HTML文档。

创新互联是一家专业提供临邑企业网站建设,专注与成都做网站、网站设计、H5响应式网站、小程序制作等业务。10年已为临邑众多企业、政府机构等服务。创新互联专业网站建设公司优惠进行中。

使用frameset元素

要使用frameset元素创建框架集,需要在HTML文档的标签中添加标签。在标签中,可以使用标签定义每个框架的属性。

下面是一个简单的例子,展示了如何使用frameset元素创建一个包含两个框架的框架集:




我的框架集



  
  



在上面的例子中,标签的cols属性指定了两个框架的宽度比例。这里的50%, 50%表示两个框架的宽度相等。

使用frame元素

frameset元素中,可以使用标签定义每个框架的属性。每个标签都必须包含一个src属性,用于指定要在框架中加载的HTML文档。

下面是一个例子,展示了如何使用标签定义两个框架的属性:




我的框架集



  
  



在上面的例子中,标签的src属性分别指定了要在每个框架中加载的HTML文档。

使用noframes元素

如果用户的浏览器不支持框架集,或者用户禁用了框架集,那么将显示</code>元素中的内容。可以使用<code><noframes></code>元素提供一些替代性的内容,以便在不支持框架集的情况下仍然能够正常显示。</p><p>下面是一个例子,展示了如何使用<code><noframes></code>元素提供替代性的内容:</p><pre> <code><!DOCTYPE html> <html> <head> <title>我的框架集</title> </head> <body> <frameset cols="50%, 50%"> <frame src="frame1.html"> <frame src="frame2.html"> <noframes> <p>您的浏览器不支持框架集,请升级您的浏览器。</p>

在上面的例子中,</code>元素中的内容将在不支持框架集的情况下显示。</p><h2>总结</h2><p>通过使用<code>frameset</code>元素,可以在HTML文档中创建包含多个框架的框架集。每个框架可以加载不同的HTML文档,从而实现页面的分割和多个内容的同时展示。</p><p>如果您正在寻找香港服务器,创新互联是您的选择。我们提供高性能的香港服务器,以及其他地区的服务器和云服务器。</p> <p> 网页标题:<a href="http://www.kswsj.com/qtweb/news6/541756.html">Html代码:frameset-框架集元素</a> <br> 当前URL:<a href="http://www.kswsj.com/qtweb/news6/541756.html">http://www.kswsj.com/qtweb/news6/541756.html</a> </p> <p> 网站建设、网络推广公司-成都快上网,一家网站设计、网站制作公司;服务项目有等 </p> <p class="adpic"> <a href="https://www.cdcxhl.com/service/ad.html" target="_blank" class="ad">广告</a> <a href="" target="_blank" class="adimg"><img src=""></a> </p> <p class="copy"> 声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: <a href="http://www.kswsj.com/" target="_blank">成都快上网</a> </p> </div> <div class="newsmorelb"> <p>成都快上网科技猜您喜欢</p> <ul> <li> <a href="/qtweb/news5/541755.html">创新互联Python教程:python列表怎么用</a> </li><li> <a href="/qtweb/news4/541754.html">oracle优化参数配置规则研究论文</a> </li><li> <a href="/qtweb/news3/541753.html">水牛城vps</a> </li><li> <a href="/qtweb/news2/541752.html">当评估大数据安全分析产品时你应该考虑这五个因素</a> </li><li> <a href="/qtweb/news1/541751.html">使用PHP表单轻松更新数据库记录 (php表单更新数据库中)</a> </li><li> <a href="/qtweb/news0/541750.html">MVC3不能正确识别JSON中的Enum枚举值</a> </li><li> <a href="/qtweb/news49/541749.html">一篇带你kubebuilder进阶:webhook</a> </li><li> <a href="/qtweb/news48/541748.html">物理动态IP服务器租用有哪些优势</a> </li><li> <a href="/qtweb/news47/541747.html">怎么维护租借香港服务器安全?</a> </li> </ul> </div> </div> <div class="col-lg-3 noneb"> <div class="bkright" style="margin-top: 0"> <p><a href="https://www.cdcxhl.com/news/paiming/">网站排名知识</a></p> <ul> <li> <a class="text_overflow" href="/qtweb/news35/89485.html">Jmeter分布式测试的注意事项和常见问题</a> </li><li> <a class="text_overflow" href="/qtweb/news17/215317.html">请问虚拟主机跟云主机有什么区别呢?哪个更不错?(云主机和虚拟主机的优点是什么)</a> </li><li> <a class="text_overflow" href="/qtweb/news20/161220.html">Redis命令SADD一步到位的添加成员(redis的命令sadd)</a> </li><li> <a class="text_overflow" href="/qtweb/news33/209583.html">如何在DB2中查询已有数据库(db2查询已有数据库)</a> </li><li> <a class="text_overflow" href="/qtweb/news26/471026.html">unbutun安装wps的方法(ubuntu安装wps2019)</a> </li><li> <a class="text_overflow" href="/qtweb/news49/348099.html">Ubuntu 16.04 中配置和使用 NGINX Web 服务器</a> </li><li> <a class="text_overflow" href="/qtweb/news32/167082.html">iishttpd.ini在哪里</a> </li><li> <a class="text_overflow" href="/qtweb/news44/94344.html">比较便宜的云服务器怎么购买的</a> </li><li> <a class="text_overflow" href="/qtweb/news10/81210.html">服务器装什么系统好?(网站服务器系统哪个好)</a> </li><li> <a class="text_overflow" href="/qtweb/news43/79293.html">一个当了爹的程序员的自白</a> </li><li> <a class="text_overflow" href="/qtweb/news6/508506.html">Stacs:一款功能强大的静态令牌和凭证扫描安全工具</a> </li><li> <a class="text_overflow" href="/qtweb/news33/398483.html">云服务器tomcat不能上传文件怎么解决</a> </li><li> <a class="text_overflow" href="/qtweb/news24/274524.html">解决Redis连接如何关闭连接(如何关闭redis连接)</a> </li><li> <a class="text_overflow" href="/qtweb/news4/543404.html">dellpoweredger320配置</a> </li><li> <a class="text_overflow" href="/qtweb/news30/316730.html">精灵操控Redis计数器的使用方法(redis计数器怎么使用)</a> </li> </ul> </div> <div class="bkright tag"> <p><a href="https://www.cdcxhl.com/hangye/" target="_blank">分类信息网</a></p> <ul> <li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/shipenji/" target="_blank">湿喷机</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/ggzz/" target="_blank">广告制作</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/shilongwang/" target="_blank">石笼网</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/ddcl/" target="_blank">电动窗帘</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/jianzhudonghua/" target="_blank">建筑动画</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/hntjbg/" target="_blank">混凝土搅拌罐</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/fwqzy/" target="_blank">服务器租用</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/zbljbc/" target="_blank">自拌料搅拌车</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/muwu/" target="_blank">木屋</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/qzgqb/" target="_blank">轻质隔墙板</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/sqwhq/" target="_blank">社区文化墙</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/yangtaihulan/" target="_blank">阳台护栏</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/gaokongche/" target="_blank">高空作业车租赁</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/sclsb/" target="_blank">水处理设备</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/shayanfudiao/" target="_blank">砂岩浮雕</a> </li><li class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <a href="https://www.cdcxhl.com/hangye/hdbf/" target="_blank">活动板房</a> </li> </ul> </div> </div> </div> <div class="carousel-inner linkbg" style="background: #fff"> <div class="container"> <a href="http://www.cdxwcx.cn/tuoguan/jianyang.html" target="_blank">简阳服务器托管</a>    <a href="http://m.cdxwcx.com/" target="_blank">成都网站建设</a>    <a href="http://www.cdxwcx.cn/tuoguan/meishan.html" target="_blank">眉山电信机房托管</a>    <a href="https://www.scvps.cn/" target="_blank">云服务器</a>    <a href="http://www.hyruijie.cn/" target="_blank">泸州洋跃建站</a>    <a href="https://www.cdxwcx.com/wangzhan/muban.html" target="_blank">成都模板网站</a>    <a href="http://chengdu.cdcxhl.cn/wechat/ " target="_blank">成都微信小程序开发</a>    <a href="https://www.cdcxhl.cn/ " target="_blank">云虚拟主机</a>    <a href="http://www.cdkjz.cn/fangan/zhuangshi/" target="_blank">装饰公司网站建设方案</a>    <a href="http://www.cdxwcx.cn/tuoguan/deyang.html" target="_blank">德阳电信服务器托管</a>    <a href="https://www.cdxwcx.com/city/yaan/" target="_blank">雅安做网站</a>    <a href="http://www.xhgfhy.com/ " target="_blank">成都雨棚定制</a>    <a href="http://www.njwzjz.com/" target="_blank">内江做网站</a>    <a href="https://www.cdcxhl.com/koubei.html" target="_blank">成都口碑营销公司</a>    <a href="http://www.ptruijie.cn/" target="_blank">新都四新网站建设</a>    <a href="http://www.dmvi.cn/ser/baozhuang/" target="_blank">成都包装盒设计</a>    <a href="http://www.ayfdjwx.com/" target="_blank">成都代办注册公司</a>    <a href="https://www.cdcxhl.cn/ " target="_blank">腾讯云香港空间</a>    <a href="https://www.cdcxhl.com/gaiban/chengdu.html" target="_blank">成都网站改版</a>    <a href="http://www.scghjhjc.cn/" target="_blank">四川广汉锦华</a>     </div> </div> <footer> <div class="carousel-inner footjz"> <div class="container"> <i class="icon iconfont zbw"></i> 品质网站建设 <i class="icon iconfont"></i> 多平台展现 <i class="icon iconfont"></i> 600元建站 <i class="icon iconfont"></i> 高效快速 <i class="icon iconfont"></i> 专业用心服务 <button type="button" class="btn btn-default btn-lg" onClick="window.location.href='tencent://message/?uin=631063699&Site=&Menu=yes'"> 立即开始600元网站建设</button> <button type="button" class="btn btn-default btn-xs" onClick="window.location.href='tencent://message/?uin=631063699&Site=&Menu=yes'"> 600元企业网站建设</button> </div> </div> <div class="carousel-inner bqsy"> <div class="container"> <div class="lxfs"> <h4 class="yutelnone">028-86922220 13518219792</h4> <h4 class="yutelblock"><a href="tel:02886922220">028-86922220</a> <a href="tel:13518219792">13518219792</a></h4> <a class="btn btn-default" href="tencent://message/?uin=532337155&Site=&Menu=yes" role="button">网站建设<span>QQ</span>:532337155</a> <a class="btn btn-default" href="tencent://message/?uin=631063699&Site=&Menu=yes" role="button">营销推广<span>QQ</span>:631063699</a> <a class="btn btn1 btn-default" href="mqqwpa://im/chat?chat_type=wpa&uin=532337155&version=1&src_type=web&web_src=oicqzone.com" role="button">网站制作<span>QQ</span>:532337155</a> <a class="btn btn1 btn-default" href="mqqwpa://im/chat?chat_type=wpa&uin=631063699&version=1&src_type=web&web_src=oicqzone.com" role="button">营销推广<span>QQ</span>:631063699</a> <a class="btn btn-default nonea" href="tencent://message/?uin=1683211881&Site=&Menu=yes" role="button">售后QQ:1683211881</a> <div class="dz">成都快上网专注: <a href="http://www.kswsj.com/" target="_blank">成都网站制作</a> <a href="http://www.kswsj.com/" target="_blank">网站设计</a> <a href="http://www.kswsj.com/" target="_blank">成都网站建设</a> <address>地址:成都太升南路288号锦天国际A幢10楼</address> </div> </div> <div class="bzdh dz"><img src="https://www.cdcxhl.com/imges/bottom_logo.png" alt="创新互联"> <p><a href="https://www.cdcxhl.com/menu.html" target="_blank">成都创新互联科技有限公司</a><br> Tel:028-86922220(7x24h)</p></div> </div> </div> </footer> </body> </html> <script> $.getJSON ("../../qtwebpic.txt", function (data) { var jsonContent = { "featured":data } var random = jsonContent.featured[Math.floor(Math.random() * jsonContent.featured.length)]; $(".adpic .adimg").attr("href",random.link) $(".adpic img").attr("src",random.pic); }) </script>