Horje

How to set A form with an accept-charset attribute

The form accept-charset attribute
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The form accept-charset attribute</h1>

<form action="/action_page.php" accept-charset="utf-8">
  <label for="fname">First name:</label>
  <input type="text" id="fname" name="fname"><br><br>
  <input type="submit" value="Submit">
</form>

</body>
</html>

Output should be:

How to set A form with an accept-charset attribute




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