Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Apr 2008
    Manchester, England
    Thanked 2 Times in 2 Posts

    Link HTML code to other webpages

    On my site I all the webpages contain the exact same XHTML code and some css for a menu.

    Can someone please tell me is it possible to have an external HTML page with the code and a link?

    The way I mean is like linking a webpage to an external css stylesheet.

    This means that the page would open quicker and make the webpages a smaller file size and to save having all the same code on each webpage.

    All help much appreciated
    Last edited by chartwise; 12-17-2012 at 11:10 AM.

  2. #2
    Administrator VIPStephan's Avatar
    Join Date
    Jan 2006
    Halle (Saale), Germany
    Thanked 1,299 Times in 1,269 Posts
    That’s possible with server side includes (SSI), also available in PHP. That requires you to have a server that supports either of these and you can’t view your pages from the local file system like that anymore.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts