iframe
<iframe src="header.html" width="100%" height="80" ></iframe>
//插入header的html,在body里面使用,将要嵌套的文件放在static下面,src可以使用相对路径
<iframe src="https:www.baidu.com"
width="500px" height="500px"
></iframe>
//也可以直接使用网址
iframe
<iframe src="header.html" width="100%" height="80" ></iframe>
//插入header的html,在body里面使用,将要嵌套的文件放在static下面,src可以使用相对路径
<iframe src="https:www.baidu.com"
width="500px" height="500px"
></iframe>
//也可以直接使用网址