I am currently developing a site in HTML5. I would like to replicate the code for my header and footer in multiple pages. After having surfed a bit on the web it seems that there are two major possibilities:
- Including the HTML code using PHP
- Including the HTML code with JQuery
Which one should be preferred?