-
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?
-
-
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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks