What are the new attributes added in HTML5 for <input> tag?

Solution

HTML5 added list of new attributes for <input> tag which are listed below:

  • autocomplete
  • autofocus
  • form
  • formaction
  • formenctype
  • formmethod
  • formnovalidate
  • formtarget
  • height and width
  • list
  • min and max
  • multiple
  • pattern (regexp)
  • placeholder
  • required
  • step

Share this thread

Comments

Comments
comments powered by Disqus

Navigation

Social Media