Horje

How to Send form-data encoded as "multipart/form-data"

The form enctype attribute.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The form enctype attribute</h1>

<form action="/action_page_binary.asp" method="post" enctype="multipart/form-data">
  <label for="fname">First name:</label>
  <input type="text" id="fname" name="fname"><br><br>
  <label for="lname">Last name:</label>
  <input type="text" id="lname" name="lname"><br><br>
  <input type="submit" value="Submit">
</form>

</body>
</html>





Type:
html
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin