Question:
Is it possible to make the HTML source not viewable?
anonymous
2012-01-03 00:28:38 UTC
Is it possible to make the HTML source not viewable?
Four answers:
kumarrome
2012-01-03 05:37:02 UTC
You can not make it invisible but you can make it messy so that no one can easily understand the code. Don't forget to keep a copy before making it messy.
adaviel
2012-01-03 09:39:26 UTC
You can create HTML in JavaScript and use an obfuscator. That makes it hard for regular users to see, but someone can always get a standalone JavaScript interpreter and decode it.
Moнѕιη
2012-01-03 08:46:03 UTC
It is impossible to make html source invisible. If you want to display page to user you need to plant your html source on his machine which makes it visible to user.

Check this code it uses java code might work.

http://www.mkyong.com/struts/struts-htmlhidden-hidden-value-example/
nicefx
2012-01-03 09:24:34 UTC
you can use HTML obfuscator to "scrambled" HTML tag but not hide. But HTML obfuscator not really compatible among web browsers


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...