I want to split the HTML file to different HTML files; all called/included/imported from one central HTML file (say, index.html) to ensure modularity and to ease long run maintenance.
- I don't want to use
- I don't want to use third party tools such as Gulp or Grunt
v$("#DivContent").load("yourFile.html");might be neat but I don't use jQuery at all
<object data="filename.html"></object>(what about it?)
- AJAX might be a good way but AJAX codes tend to be "messy"
- This article has some nice insights; perhaps I should use PHP