Why is the default max length for an input 524288?
问题 The default maximum length for a HTML input ( <input type="text"> ) is 524288 characters. That seems like a very peculiar number, why was it chosen? 回答1: According to the w3c the maximum value is unlimited: maxlength = number [CN] When the type attribute has the value "text" or "password", this attribute specifies the maximum number of characters the user may enter. This number may exceed the specified size, in which case the user agent should offer a scrolling mechanism. The default value