问题:
I have 2 HTML files, suppose a.html and b.html . 我有2个HTML文件,假设a.html和b.html 。 In a.html I want to include b.html . 在a.html我想包含b.html 。
In JSF I can do it like that: 在JSF中,我可以这样做:
<ui:include src="b.xhtml" />
It means that inside a.xhtml file, I can include b.xhtml . 这意味着在a.xhtml文件中,我可以包含b.xhtml 。
How can we do it in *.html file? 我们如何在*.html文件中执行此操作?
解决方案:
参考一: https://stackoom.com/question/biPX/在HTML文件中包含另一个HTML文件参考二: https://oldbug.net/q/biPX/Include-another-HTML-file-in-a-HTML-file
来源:oschina
链接:https://my.oschina.net/u/4432649/blog/4405729