Jump to content
Larry Ullman's Book Forums

Recommended Posts

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

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

 Share

×
×
  • Create New...