Results 1 to 2 of 2

Thread: Including header file using HTML

  1. #1
    Join Date
    Dec 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Including header file using HTML

    Is it possible to include a header and footer file using HTML? I have my file as a .html and need to be able to include the HTML for the header and footer. Anyone know how I can do this?

  2. #2
    Join Date
    Aug 2006
    Posts
    239
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    In a way: but not HTML directly. Client-side, you can use AJAX, server-side it's easier though.

    You can always resort to frames, iframes or <object type="text/html">, yet it should be noted that the last is not well supported- it will work with most current browsers though, iframe is only valid within transitional doctypes, frameset causes nothing but trouble.

Bookmarks

Posting Permissions

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