enctype=multipart/form-data
attribute. Then add an <input type='file' name='My File'/>
tag to your form. There's a number of options you can add to this tag to customize it. For example, if you only want to accept PNG and JPEG images, we can add accept="image/png, image/jpeg"
. You can learn more about all the available options for the file input tag here.