我正在做一个网站的前端,将其放在 github 上,我想知道是否有任何方法可以将 html 文件导入到另一个 html 文件中。 我知道我可以使用 php,但我对是否可以使用 html 感兴趣。
最佳答案
您可以使用iframe :
The HTML Inline Frame element (
<iframe>
) represents a nested browsing context, embedding another HTML page into the current one.
关于html - 是否可以在html文档中包含html文档?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64519685/