首页 > 技术文章 > html中表示实现文件上传的三个必须要素

wt9866 2020-10-22 17:30 原文

1. form 表单的提交方式必须是post;

2.表单增加enctype="multipart/form-data"属性

3.input类型为file

推荐阅读