how to upload image in html from desktop code example
Example 1: how to upload image in html
<form action="/action_page.php">
<label for="img">Select image:</label>
<input type="file" id="img" name="img" accept="image/*">
<input type="submit">
</form>
Example 2: how to add an image to my web page from my computer
<img src=”sun.jpg” alt=”Sun”></img>