<input type="file" name="my_image" accept="image/gif,image/jpeg,image/jpg,image/png">

      Html language logo
      Restrict upload to specific type

      Html

      The code specifies that an input of the type β€œfile” should accept files of the following formats: image/gif, image/jpeg, image/jpg, and image/png.

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.