HTML Form Tags
Tags for Forms in HTML 5
HTML <form> tag
The tag used to create HTML forms is the:
HTML elements owned by a form
These tags are used to create form-associated elements meaning they are associated with an HTML form.
- <button> tag
- can have a <label> and is included in data sent when form is submitted
- <fieldset> tag with a <legend> tag
- labels a set of form fields as a group
- <input> tag
- can have a <label> and is included in data sent when form is submitted
- <keygen> tag
- can have a <label> and is included in data sent when form is submitted
- <label> tag
- associates a label with one of the other form-associated elements
- <meter> tag
- can have a <label>
- <object> tag
- is included in data sent when form is submitted
- <output> tag
- can have a <label>
- <progress> tag
- can have a <label>
- <select> tag with <optgroup> and <option> tags or referencing a <datalist> tag
- can have a <label> and is included in data sent when form is submitted
- <textarea> tag
- can have a <label> and is included in data sent when form is submitted
See the tutorial on Creating HTML Forms for full details on how to create an HTML form using the HTML form tags together.