Three <body> opening tags, multiple <br />, <table> in <p> for styling purpose, inline CSS.IMO you have to redo properly every pages with external CSS files. If the pages are generated by script, you can make HTML templates and includes them in every page.I work with a PHP MVC framework and View objects have a loadTemplate($name, $data) function.A basic page look like
$this->loadTemplate('head', $data); // ($data contain canonical url, page title, css and js filenames, etc.)$this->loadTemplate('header');$this->loadTemplate('meta_navigation');$this->loadTemplate('local/navigation');?><!-- Page content --><?php$this->loadTemplate('footer');
You can use require($templatePath); instead of $this->loadTemplate($name, $data); if you haven't an OO framework.