File Input Element
To allow users to upload their documents, images, videos or other files to your web server you again use the <input> element with type="file" attribute. In such situations, you must set the method attribute value to POST. The accept attribute specifies the types of files that the server accepts. To specify more than one value, separate the values with a comma e.g. accept="audio/*,video/*,image/*".
Learn the HTML5 language in this tutorial series. These tutorials are designed for new programmers to provide them thorough knowledge of full stack web development.