Equivalent of include() in HTML

后端 未结 11 555
有刺的猬
有刺的猬 2020-11-29 06:40

I was wondering wether there is a way to include some html content inside another html using only html?

A replacement to PHP\'s



        
11条回答
  •  自闭症患者
    2020-11-29 07:15

    the only thing would be an iframe which is pure html. but you also can use javascript to get the page via ajax and include it into your dom hirarchy

提交回复
热议问题