This is a free online tool that allows you to obfuscate HTML code.
How to use Online HTML Obfuscator:
Installation
Just copy and paste the output JavaScript code in your web page. The code already includes <script> and </script> for your convenience, so there is no need to enclose it in another <script> tag.