1.jquery Load () method
$ ("#footer"). Load ("footer.html") 2.ssi service <!-#include virtual= "html/footer.shtml", shtml format 3.IFrame introduced, take a look at the following code
[Code] <iframe name= "Content_frame" width=100% height=30 marginwidth=0 marginheight=0 src= "import.htm" ></ Iframe> # #说明: Style out of document flow, style difficult to maintain 4.<object> way
[Code] <object style= "border:0px" type= "Text/x-scriptlet" Data= "import.htm" width=100% height=30></object>
# #模板样式不能外部CSS控制 5.document Writevar urls = document.getelementsbytagname ("script");
var urls = urls[urls.length-1].src;
var url = urls.slice (Urls.indexof ("?") +1);
var Ieid = Url.replace (/\w/m, "_");
document.write (' <ie:download id= ' ' +ieid+ ' "style=" Behavior:url (#default #download) "/>");
document.getElementById (Ieid). Startdownload (Url,ondownloaddone);
function Ondownloaddone (downdate) {
document.write (downdate);
}html file code: <script src= "this.js?lib/top.html" ></script>
6.ANGUALR Frame Ng-include Instructions
Modular method of HTML templates