Hi,
i'm looking for a way to put multiple html documents in one big file.
Is the big file supposed to be HTML?
If so, it is not simple - as each HTML document has exactly one html and one body element - but you would put multiple html elements into the file.
You would have to remove the doctypes, the tags of the html element and the body element, the head elements (with all their contents).
Of course you would have to add exactly ONE doctype and one head element.
You should also add some separator (I'd suggest a hr element with a special class attribute, or if the separator should be invisible, a special comment).
If the big file is supposed to be just a big file (not an HTML document), just put the files together - no special separator needed, as each single html document starts with a doctype, you can use the doctype as the position for splitting the file again.
cu,
Andreas
Warum nennt sich Andreas hier MudGuard?
Fachfragen per E-Mail halte ich für unverschämt und werde entsprechende E-Mails nicht beantworten. Für Fachfragen ist das Forum da.