Horje

Full of HTML formenctype Attribute in input

The input formenctype attribute The formenctype attribute specifies how the form data should be encoded when submitted.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The input formenctype attribute</h1>

<p>The formenctype attribute specifies how the form data should be encoded when submitted.</p>

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

</body>
</html>

Output should be:

Full of HTML formenctype Attribute in input




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Input Attributes
Uploaded by:
Admin