Search
 
SCRIPT & CODE EXAMPLE
 

HTML

input type file pattern attribute in html

<input type="file" name="my-image" id="image" accept="image/gif, image/jpeg, image/png" />
To select only image files, you can use this accept="image/*"

<input type="file" name="my-image" id="image" accept="image/*" />
Comment

PREVIOUS NEXT
Code Example
Html :: how to get 2 headings in same line in html 
Html :: h1 tag is used for 
Html :: jquery animation move point 
Html :: common html tags 
Html :: Full Form Of RAR 
Html :: render html helper list + prestashop 1.7 
Css :: XAMPP: Another web server daemon is already running 
Css :: reset a tag css 
Css :: css center image on background 
Css :: text-overflow ellipsis multiple lines 
Css :: rainbow linear gradient css 
Css :: How to create a dotted hr 
Css :: css hide div on mobile 
Css :: absolute vertical position css 
Css :: make a quarter of circle css 
Css :: center div css 
Css :: align div to right side of parent 
Css :: rotate css 
Css :: tailwind remove button outline 
Css :: radio checked css 
Css :: responsive css 
Css :: css how to center images in a table cell 
Css :: ion-slider pagination color 
Css :: css align ul li horizontal 
Css :: adding shadow to a div 
Css :: bring element to front css 
Css :: css animated skills bar 
Css :: how to center items in css 
Css :: prevent screen reader from reading text out loud css 
Css :: css animation image up and down 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =