Partial render in HTML/JavaScript

前端 未结 5 2020
再見小時候
再見小時候 2020-12-24 07:17

I have some HTML files, and each one of them I want to partially render in another HTML file, for example header.html and footer.html in order to o

5条回答
  •  梦毁少年i
    2020-12-24 07:56

    If you are using server-side programming, you can use server-side include else if your host file is an HTML file then you can use html SCRIPT tag to include the header.html and footer.html files. Though, am not sure as to what do you really mean by partially rendering HTML file?

提交回复
热议问题