Hello and welcome to our community! Is this your first visit?
Register
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
    Location
    Manchester, England
    Posts
    206
    Thanks
    33
    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 10:10 AM.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,629
    Thanks
    6
    Thanked 1,002 Times in 975 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
    •