MDN’s new design is in Beta! A sneak peek:


Type: string
The default value entered in a textbox. The attribute only holds the default value and is never modified when the user enters text. To get the updated value, use the value property. For number boxes, the default is 0 or the minimum value returned by the min property, whichever is higher.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, Marsf, Enn, Dria
 Last updated by: Sheppy,