HTML Content Models

HTML form associated content

Build a form with the HTML form generator

Elements that can have a form owner, including controls and certain related elements. The nearest ancestor form is the usual owner; listed controls may reference another form with form. The listed, labelable, submittable and resettable categories overlap but differ. Categories describe authoring constraints and may overlap; they do not determine CSS display or by themselves guarantee accessibility.

Formal Syntax & Structure

html syntaxhtml
<input form="profile" name="name">

Working Example

Example Snippethtml
<form id="profile"></form><label>  Name  <input form="profile" name="name" value="Ada"></label><button form="profile" type="reset">Reset</button>
HTML Reference