title: Limit file format when using <input type="file">?
body: <p>I'd like to restrict the type of file that can be chosen from the native OS file chooser when the user clicks the Browse button in the <code>&lt;input type="file"&gt;</code> element in HTML. I have a feeling it's impossible, but I'd like to know if there <em>is</em> a solution. I'd like to keep solely to HTML and JavaScript; no Flash please.</p>