page2
<
/title
>
<
/head
>
<body
>
<div
id
=
"app1"
>
<a
>模板内容
<
/a
>
<
input
type
=
"button" value
=
"点我弹窗" @click
=
"click1"
/
>
<a
>message
<
/a
>
<
/div
>
<
/body
>
<
/html
></code><br/></pre><p>可以看到base2.html被导入到了page2.html文件中,相当于代码复用。</p><p><img src="/upload/ad_content/xuanchuantu-10.jpg"></p><p><a href="https://www.cdcxhl.com/city/jiagedaqi.html" target="_blank">加格达奇网站建设公司</a><a href="https://www.cdcxhl.com/" target="_blank">成都创新互联</a>,加格达奇网站设计制作,有大型网站制作公司丰富经验。已为加格达奇超过千家提供企业网站建设服务。企业网站搭建\<a href="https://www.cdcxhl.com/waimao.html" target="_blank">外贸营销网站建设</a>要多少钱,请找那个售后服务好的<a href="https://www.cdcxhl.com/zuo/jiagedaqi.html" target="_blank">加格达奇做网站</a>的公司定做!</p><h3>
总结</h3><p>extends主要用于同一主题的网页,网页之间的框架大体相同,include主要用于多个html中有相同的代码。<br/>二者是可以一起使用的,这么看extends和include用处刚好是相反的。</p></div>
<br>
本文名称:include、extends用法和区别 <br>
链接分享:<a href="http://cdweb.net/article/iecocc.html">http://cdweb.net/article/iecocc.html</a>
</div>
</div>
<div class="other">
<h3>其他资讯</h3>
<ul>
<li>
<a href="/article/idpdsj.html">域名vip是什么意思,资源域名已拦截是什么意思</a>
</li><li>
<a href="/article/idpdjo.html">网站建设有什么用,网站建设好吗做网站建设有什么用</a>
</li><li>
<a href="/article/idpdjc.html">一般首屏高度多少</a>
</li><li>
<a href="/article/idpdcj.html">温州微网站制作多少钱,做个个人微网站大概需要多少钱阿</a>
</li><li>
<a href="/article/idpdei.html">css代码写在哪里,CSS代码一般放在哪</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.kswsj.com/" title="成都网页制作" target="_blank">成都网页制作</a></li><li><a href="http://www.scqtclxh.com/" title="鑫友邦火锅桌" target="_blank">鑫友邦火锅桌</a></li><li><a href="https://www.cdcxhl.com/google.html" title="成都谷歌推广" target="_blank">成都谷歌推广</a></li><li><a href="https://www.cdcxhl.com/wangzhandingzhi.html" title="成都定制网站" target="_blank">成都定制网站</a></li><li><a href="http://www.kmruizhi.cn/" title="成都喷绘广告" target="_blank">成都喷绘广告</a></li><li><a href="http://www.cdhuace.com/" title="户外广告设计" target="_blank">户外广告设计</a></li><li><a href="http://www.cxhljz.cn/app/" title="Android开发" target="_blank">Android开发</a></li><li><a href="https://www.cdcxhl.com/sheji/chengdu.html" title="四川成都网站设计" target="_blank">四川成都网站设计</a></li><li><a href="http://www.cxjianzhan.com/" title="网站推广" target="_blank">网站推广</a></li><li><a href="http://www.jxjierui.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>