I have a website with a client-side HTML contact form created manually (not as output of an HTML constructor like PHP):
<form action="mailto:someone@example.com">
Email Adress:<br>
<input type="email" name="email_address" value="" maxlength="100" />
<br>
<input type="submit" value="Submit" />
</form>
I would like to hide that mailto:someone@example.com
from all HTML source codes that include it, so that users would not be able to find the email address even in source code directly;
This way, generally only customers who have sent me an email and got a reply --- would know the email address (unless the user undid the hiding operation).
Is there a way to hide HTML source code yet keeping it effective?
Update
From reading all answers calmly, it seems my question had a false assumption: I missed big time that mailto
will always eventually show the email as is in a user's email client pop up (and maybe also before that in preview in the bottom-left edge of the browser screen port); I think I missed that because a cognitive bias of the combination of replies suggesting source code obfuscation and an redundant-in-my-opinion sentence such as The question doesn't even make sense on a conceptual level; which I tried to remove in an edit (which was partially approved, sadly). I now understand that whatever I'll do, no matter how I'll obfuscate the source code; the email I putted in mailto
will always eventually appear in a user emails client applied to a browser (if there is one - if not, there would just be no email sending effect).