accept Attributeaccept Attributeaccept is declared on the elements: form, input type="file"The accept attribute specifies a comma-separated list of one or more content types (e.g. "image/jpeg",
"audio/mpeg") which will be accepted for file upload and handled correctly by the
form's processing script.
Some user agents will filter out all but those accepted file types when prompting the user to select files to upload using the
input type="file" form control.
The IANA provide a *list of registered MIME Media Types for reference.
The accept attribute is not present in the
*W3C XHTML 1.1 Basic Forms Module.
See also the accept-charset attribute.