Paul Posted March 30, 2012 Share Posted March 30, 2012 Hi, If I create a header include file (as per Larry's examples) why does it finish with the opening body tag and relevant div? Could it not just finish with the closing head tag and the individual pages start with a body tag and div? Does it make any difference? Cheers Paul Link to comment Share on other sites More sharing options...
Larry Posted March 30, 2012 Share Posted March 30, 2012 Well, of course it makes a difference. Those elements that will be common to every page should go in the included file. If you move the opening BODY tag to the individual pages, then they each need to have that. Why would you want that? Link to comment Share on other sites More sharing options...
Recommended Posts