accept attribute | accept property
Sets or retrieves a comma-separated list of content types.
Comma-separated list of content types.
The information from the list can be used to filter out nonconforming files when prompting a user to select files to be sent to the server using the <input> element with type="file".
There is no functionality implemented for this property unless defined by the author.
accept was introduced in Microsoft Internet Explorer 6