abstract:head.html 部分 <head> <xbase href="#" /> <
head.html 部分 <head> <xbase href="#" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>頁面模板</title> <meta name="description" content="xxxxx" /> <meta name="keywords" content="xxxxx" /> <link rel="stylesheet" href="css/index.css"> <link rel="stylesheet" href="css/index-ie8.css"> </head>
footer.html部分
<div class="footer"> <div class="copy_right_text"> <p class="color-content"> 版權(quán)所有 ? xxx公司 <br /> COPYRIGHT(C) ,LTD ALL RIGHTS RESEARVED<br /> <a href="#"> 新ICP備xxx號-1 </a> </p> </div> </div>
{include file="public/head.html"} <body> {block name="nav"} <a href="">首頁</a> | <a href="">公司新聞</a> | <a href="">公司產(chǎn)品</a> | <a href="">聯(lián)系我們</a> {/block} {block name="content"} 主體內(nèi)容 {/block} </body> {include file="public/footer.html"} </html>
Correcting teacher:天蓬老師Correction time:2019-06-03 09:52:24
Teacher's summary:模板繼承, 其實本質(zhì)就是文檔包含技術(shù).....