acuier

给大家整理了3个方法,一个是HTML的iframe标签,别两个是JS引用。比如要在arr.html文件里引用index.html文件,方法如下。

HTML引用方法:

<iframe name="toppage" width=100% height=100% marginwidth=0 marginheight=0 frameborder="no" border="0"  src="index.html" ></iframe> 

JS引用方法:

<object style="border:0px" type="text/x-scriptlet" data="index.html" width=100% height=100%></object>
或者
<script type="text/JavaScript" src="index.js"></script>

分类:

技术点:

相关文章:

  • 2021-12-07
  • 2021-10-20
  • 2021-11-01
  • 2021-11-09
  • 2021-12-05
  • 2021-12-07
  • 2021-11-13
  • 2021-11-19
猜你喜欢
  • 2021-11-02
  • 2021-11-13
  • 2021-12-07
  • 2021-11-13
  • 2021-12-15
  • 2021-11-13
  • 2021-11-13
相关资源
相似解决方案