Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

emptytext

emptytext Deprecated since Gecko 2
Type: string
A string that appears in the textbox when it has no value. This is superseded by the placeholder attribute in Gecko 2.0. The old name is retained for compatibility, but you should update your code.

Document Tags and Contributors

 Contributors to this page: Sheppy, Smi, fscholz, Marsf, Dao
 Last updated by: Sheppy,