Skip to content

Commit

Permalink
Move the comment HTML to a standalone HTML snippet (#33487)
Browse files Browse the repository at this point in the history
* Move the comment HTML to a standalone HTML snippet

For better readability.

* Close the tag

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
xuhdev and github-actions[bot] committed May 8, 2024
1 parent fa772db commit 0439b25
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion files/en-us/web/api/htmlinputelement/multiple/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ A boolean value.

## Examples

```html
<input id="myfileinput" type="file" multiple />
```

```js
// fileInput is a <input type=file multiple>
let fileInput = document.getElementById("myfileinput");

if (fileInput.multiple) {
Expand Down

0 comments on commit 0439b25

Please sign in to comment.