时间:2021-07-01 10:21:17 帮助过:45人阅读
HTML代码:
<form method="post" enctype="multipart/form-data"> <input type="file" accept="image/png,image/gif,image/jpg,image/jpeg" id="files" name="files" multiple onchange="javascript:setImagePreviews();" /> <input type="button" id="upload" value="上传" /> <p id="preview"> </p> </form>
更多用file标签实现多图文件上传预览相关文章请关注PHP中文网!