: How safe are the new HTML5 input tags I am thinking to use the Input Type tags in my web application like <input type="email"> <input type="number" required="required"> I'm
I am thinking to use the Input Type tags in my web application like
<input type="email">
<input type="number" required="required">
I'm just curious how safe is to use them , Is there any options so the user will disable them from browser.
More posts by @Gonzalez347
2 Comments
Sorted by latest first Latest Oldest Best
They are not safe.
You can never count on them being executed.
You can't skip server-side input-checking.
HTML5 is as safe as HTML4 for Input Methods, Your elements should be controlled by JavaScript or PHP and have them validate the data that the user is imputing. Your question is very broad and impossible to give you an exact answer because its not actually clear what your asking.
If your concerned about compatibility with the new HTML5 tags then you should use HTML5Shiv or Modernizr which contains best of both worlds.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.