Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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.

share|improve this question

closed as off topic by Su', bybe, John Conde Mar 25 '13 at 1:17

Questions on Webmasters Stack Exchange are expected to relate to webmastering within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Are you asking about compatibility between different browsers, or are you asking if there are any security concerns? –  Stephen Ostermiller Mar 23 '13 at 17:04
add comment

2 Answers 2

They are not safe.

You can never count on them being executed.

You can't skip server-side input-checking.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.