XHTML and CSS - Upload Buttons
Upload Buttons
In this tutorial we're going to be looking a the HTML upload form, this is how you would upload a file for example a image in HTML. To upload a file we use a input tag with the type file, we also have to set a name attribute, like other form elements.
<html> <head> <title> This is the title. </title> <style type="text/css"> </style> </head> <body> <form> <input type="file" name="image"> </form> </body> </html>
When you view that you'll see that we have a button and if we click the button it allows us to choose a file to upload.

Page generated in 0.0061 seconds.