in reply to how to split html file?

And your criterion for 'where to split' is what?

As to how, read split.