Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> label { display: block; margin-bottom: 10px; color: #666666; } input[type="submit"] { display: block; margin-top: 20px; border: 1px solid lightblue; background-color: lightblue; padding: 5px 10px; color: #ffffff; cursor: pointer; } input[type="submit"]:hover { background-color: #0b7a9e; } </style> </head> <body> <form action="/form/submit" method="post"> <label for="picture">Choose a picture:</label> <input type="file" id="picture" name="picture" accept="image/png, image/jpeg"> <input type="submit" value="Submit"> </form> </body> </html>