<html>
<body>
<form>
<input type="file" name="pic" accept="image/gif" />
</form>
<p><b>注释:</b>出于安全方面的考虑,本例不允许用户上传文件。</p>
</body>
</html>