upload w3schools code example
Example 1: html upload image
<input type="file" accept="image/*" />
Example 2: upload button in html
<form action="/action_page.php">
<input type="file" id="myFile"
name="filename">
<input type="submit">
</form>