Skip to content
Related Articles
Open in App
Not now

Related Articles

HTML | <input> minlength Attribute

Improve Article
Save Article
  • Last Updated : 12 Aug, 2022
Improve Article
Save Article

The HTML <input> minlength Attribute is used to define <input> minlength Attribute. the Integer value must start with 0 or higher. 

<input minlength="numeric"> 

Attribute Value: 

  • number: It contains the numeric value i.e 0 or higher.



<!DOCTYPE html>
        <h1 style="color:green;">
        minlength attribute
        <form action="">
            <input type="text"
            <br> Password:
            <input type="text"
            <input type="submit"


Supported Browsers: The browsers supported by <input> minlength Attribute are listed below: 

  • Google Chrome 40
  • Edge 17
  • Firefox 51
  • Apple Safari 10.1
  • Opera 27


My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!