application/x-www-form-urlencoded | Default. All characters will be encoded before sent |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The button formenctype attribute</h1>
<form action="/action_page_binary.asp" method="post">
<label for="fname">First name:</label>
<input type="text" id="fname" name="fname" value="Ståle"><br><br>
<button type="submit">Submit with character encoding</button>
<button type="submit" formenctype="application/x-www-form-urlencoded">Submit without character encoding</button>
</form>
</body>
</html>
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |