HTML Value Syntax
HTML mime type syntax
A media type identifies a representation using type/subtype with optional parameters where the relevant context permits them. Examples are text/html and image/png. An attribute hint does not override server response metadata or validate file contents. This is a value grammar, not a standalone HTML element.
Formal Syntax & Structure
html syntaxhtml
type="image/png"Working Example
Example Snippethtml
<label> PNG image <input type="file" accept="image/png"></label>