32 lines
581 B
HTML
32 lines
581 B
HTML
<!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> |