|
You can't "encrypt" HTML.
You can "obfuscate" it. Meaning you can make it hard to read.
You can "encode" the characters into their HEX equivalent.
However you can not encrypt. The browser needs to be able to
read the HTML, if it's encrypted in any way the browser won't
have a clue what to do with it.
That being said you could put the entire HTML in an encrypted
string and have jav-as-cript decrypt it. However because the
browser needs to see the decrypted version it would be a very
simple task to print the decrypted HTML with only a very slight
modification to the code.
Really unless you've found a new fantastic way to make text bold
I doubt there is any point. :-) HTML is pretty simple stuff, not like
it's possible to find the cure for cancer or anything that valuable
in HTML.
-Ben
__________________
Cyberwurx Hosting
After trying 5 different hosts, I found the best.
Since 1997 I've had 2 hours of downtime.
Fast support, great techs, no hype, no gimmicks.
<- I in no way endorse whatever just got stuck on the left of my post.
|