Regarding your question, I don't know.
See the attached lexer, completely un-tested and un-working, but can serve you as a start.
I don't know how'll you handle php/js/vbs/etc inside html and the other way around (embedded), but if it can't be done don't loose much time with that.
[attachment deleted by admin]