HTML is interpreted by the web browser, not at the server. As such, you cannot "encrypt" HTML and expect it to be properly interpreted by the browser unless the browser was specifically designed to decrypt such files (which they aren't).
The best you can do is obfuscate the HTML. For example, that "Code Encrypter" linked to by Crazy Cat (#8) took this link -
<a href="http://www.yourlink.com">Fake Link</a>
and made it look like this in order to make it more difficult to read -
However, anyone who sees this will still be able to quickly figure out exactly what it is.
Using Base64 encoding, the HTML for the link given above appears as such -
However, this encoded HTML cannot be used alone. It has to be wrapped in tags which will identify it as Base64, then anyone who knows anything about using Google to find Base64 decoders will easily be able to see your link.
Edited by C0113c70r, 05 September 2016 - 10:48 AM.