Input Accept Attribute

HTML

<input type="file" accept="text/html">