下面的代码哪里出错了我加了iframe name=my-iframe src=indexhmtl frameborder=0 style=width100; height100;iframe之后页面出错了不显示原来的界面div class=Polaris-Stack Polaris-Stack--distributionEqualSpacing Polaris-Stack--alignmentCe
<p>代码中的错误是在iframe元素的src属性中,将"hmtl"拼写错误为"html"。正确的代码应该是:</p>
<iframe name="my-iframe" src="index.html" frameborder="0" style="width:100%; height:100%;"></iframe>
原文地址: https://www.cveoy.top/t/topic/inrJ 著作权归作者所有。请勿转载和采集!