initial
This commit is contained in:
commit
74ae93a96e
1 changed files with 94691 additions and 0 deletions
14
joplin notion extension/Web Development/HTML/Label.md
Normal file
14
joplin notion extension/Web Development/HTML/Label.md
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
Label
|
||||
|
||||
- for property of label element is useful for pointing to input element using its id
|
||||
for eg:
|
||||
```html
|
||||
<input type="file" id="actual-btn"/>
|
||||
|
||||
<!--our custom file upload button-->
|
||||
<label for="actual-btn">Choose File</label>
|
||||
```
|
||||
|
||||
Now when the user clicks on **label** will ask for uploading file too just like we click on **input**
|
||||
|
||||
|
||||
Loading…
Reference in a new issue