html can import html, the introduction method: 1. Use the iframe tag of HTML, the code is [b6f1b468e8f3f653c69f22c60799a8ec]; 2. Use the JS reference method, The code is [27f61a3abbaa06aa96d31ee41bc233b6].
The operating environment of this tutorial: windows7 system, html5 version, DELL G3 computer.
html can import html, the introduction method:
has sorted out 3 methods, one is the iframe tag of HTML, and the other two are JS references. For example, to reference the index.html
file in the arr.html
file, the method is as follows.
1. HTML citation method:
<iframe name="toppage" width=100% height=100% marginwidth=0 marginheight=0 frameborder="no" border="0" src="index.html" ></iframe>
2. JS citation method:
<object style="border:0px" type="text/x-scriptlet" data="index.html" width=100% height=100%></object>
3.
<script type="text/javascript" src="index.js"></script>
Related learning recommendations: html video tutorial
The above is the detailed content of Can html be imported into html?. For more information, please follow other related articles on the PHP Chinese website!
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn