Upload files to "/"
This commit is contained in:
32
upload.html
Normal file
32
upload.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>
|
||||
How to upload files using HTML to website?
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<body style="text-align: center;">
|
||||
|
||||
<h1 style="color: green;">
|
||||
Welcome to GeeksforGeeks
|
||||
</h1>
|
||||
<h2>
|
||||
How to upload files using HTML to website?
|
||||
</h2>
|
||||
<!--
|
||||
<input type="file"
|
||||
id="file1"
|
||||
name="upload">
|
||||
|
||||
-->
|
||||
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<label for="file">File</label>
|
||||
<input id="file" name="file" type="file" />
|
||||
<button>Upload</button>
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user