1.利用控件(必须要将comdlg32.ocx 放到system32目录里) 2.利用file标签打开对话框(默认类型为所有文件 推荐) //设置display:none 将不显示浏览 3.利用样式(打开类型默认为html)