Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonren0403 authored Sep 19, 2024
1 parent 72362af commit cd16b67
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions files/zh-cn/web/html/attributes/accept/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ accept 是 {{HTMLElement("input/file", "file")}} {{htmlelement("input")}} 类型
```html
<form method="post" enctype="multipart/form-data">
<div>
<label for="file">选择要上传的文件</label>
<input type="file" id="file" name="file" multiple />
<label for="file">选择要上传的文件</label><input type="file" id="file" name="file" multiple />
</div>
<div>
<button>提交</button>
Expand Down Expand Up @@ -120,8 +119,7 @@ div {
```html
<form method="post" enctype="multipart/form-data">
<div>
<label for="profile_pic">选择要上传的文件</label>
<input
<label for="profile_pic">选择要上传的文件</label><input
type="file"
id="profile_pic"
name="profile_pic"
Expand Down

0 comments on commit cd16b67

Please sign in to comment.