added default html handler with some best practices
basic improvements; fails for syntax errors