HTML accept Attribute
The accept attribute specifies the types of files that the server accepts which can be submitted through a file upload. It can be only used with the input tag. It is not the same as form validation.
Its syntax is:- < element accept="value" >