input a file in html form code example Example 1: input a file in html form {% csrf_token %} Image Submit Example 2: how to take a file input in html form Select a file: