Is there a way for prevent any user from editing my html code from UI using inspect element ? I have done research there's many why to prevent inspect element ( or Right-Click ) but seems not all of them are effective .
So my question is how to prevent the user from editing my HTML Code using inspect element and what's more suggestion I can add to enhance website security?

You are going off on a tangent. No there is no way to prevent a user from editing content they have downloaded to their computer. But they are not editing your website - the website security is not being compromised.