在html中插入以下内容时,网页不会显示。这对任何其他链接都不起作用。请告诉我这里面有什么问题?
<!DOCTYPE html>
<html>
<body>
<h2>HTML Iframes</h2>
<p>You can also use the CSS height and width properties to specify the size of the iframe:</p>
<iframe src="https://www.w3schools.com" style="height:500px;width:900px"></iframe>
</body>
</html>
发布于 2018-06-03 04:32:52
不需要有style属性。
<iframe height="500px" width="800px" src="https://www.google.com" ></iframe>
这应该可以解决这个问题。
https://stackoverflow.com/questions/50660764
复制相似问题