how to upload image using input type file html code example
Example 1: file input file types
<input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">
Example 2: input type file select only video
accept="video/mp4,video/x-m4v,video/*"
<input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">
accept="video/mp4,video/x-m4v,video/*"