【发布时间】:2022-01-14 02:43:50
【问题描述】:
我曾经在某处读到它是后备内容,但是当 src 无法加载时它不显示。
<html>
<head>
</head>
<body >
<iframe src="https://www.google.com/">
<p>text</p>
</iframe>
</body>
</html>
【问题讨论】:
-
developer.mozilla.org 是一个很好的资源来检查 html 以及大多数与 web 相关的帮助。特别是,他们在 iframe 上有一个页面,或多或少反映了 @Quentin 的回答。
-
你能告诉我它的哪一部分是这样说的吗?
-
靠近顶部有一个表格,上面写着“允许的内容:无”
标签: html