Mobile app version of vmapp.org
Login or Join
Gonzalez347

: 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

@Gonzalez347

Posted in: #Html5

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.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Gonzalez347

2 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

They are not safe.

You can never count on them being executed.

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

10% popularity Vote Up Vote Down


 

@Turnbaugh106

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme