accept
form - A comma-separated list of content types that the server accepts.
<strong>Usage note:</strong> This attribute has been removed in HTML5 and should no longer be used. Instead, use the <code><a href="/en-US/docs/Web/HTML/Element/input#attr-accept">accept</a></code> attribute of the specific <a title="The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user." href="/en-US/docs/Web/HTML/Element/input"><code><input></code></a> element. input - If the value of the <strong>type</strong> attribute is <code>file</code>, then this attribute will indicate the types of files that the server accepts, otherwise it will be ignored. The value must be a comma-separated list of unique content type specifiers:
- A file extension starting with the STOP character (U+002E). (e.g. .jpg, .png, .doc).
- A valid MIME type with no extensions.
- <code>audio//</code> representing sound files. <span class="inlineIndicator htmlVer htmlVerInline"><a href="/en-US/docs/HTML/HTML5">HTML5</a></span>
- <code>video//</code> representing video files. <span class="inlineIndicator htmlVer htmlVerInline"><a href="/en-US/docs/HTML/HTML5">HTML5</a></span>
- <code>image//</code> representing image files. <span class="inlineIndicator htmlVer htmlVerInline"><a href="/en-US/docs/HTML/HTML5">HTML5</a></span>