Forms & Controls

enctype="text/plain"

Build a form with the HTML form generator

Serializes entries in a simple plain-text name=value format. Mainly useful for diagnostics; delimiters in names or values make reliable parsing difficult, so avoid for normal production APIs. POST form encoding; formenctype may override it. Missing or invalid values default to application/x-www-form-urlencoded. The example requires a server endpoint.

Formal Syntax & Structure

html syntaxhtml
enctype="text/plain"

Parameters & Attributes

NameTypeDescription
enctypekeywordSerializes entries in a simple plain-text name=value format. Mainly useful for diagnostics; delimiters in names or values make reliable parsing difficult, so avoid for normal production APIs.

Working Example

Example Snippethtml
<form method="post" action="/submit" enctype="text/plain">  <label>    Title    <input name="title">  </label>  <button>Submit</button></form>
HTML Reference