Module moxie_dom::elements::forms[][src]

HTML provides a number of elements which can be used together to create forms which the user can fill out and submit to the Web site or application. There’s a great deal of further information about this available in the HTML forms guide.

Structs

Button

The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.

ButtonBuilder

The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.

Datalist

The HTML <datalist> element contains a set of <option> elements that represent the values available for other controls.

DatalistBuilder

The HTML <datalist> element contains a set of <option> elements that represent the values available for other controls.

Fieldset

The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form.

FieldsetBuilder

The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form.

Form

The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.

FormBuilder

The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.

Input

The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

InputBuilder

The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

Label

The HTML <label> element represents a caption for an item in a user interface.

LabelBuilder

The HTML <label> element represents a caption for an item in a user interface.

Legend

The HTML <legend> element represents a caption for the content of its parent <fieldset>.

LegendBuilder

The HTML <legend> element represents a caption for the content of its parent <fieldset>.

Meter

The HTML <meter> element represents either a scalar value within a known range or a fractional value.

MeterBuilder

The HTML <meter> element represents either a scalar value within a known range or a fractional value.

Optgroup

The HTML <optgroup> element creates a grouping of options within a <select> element.

OptgroupBuilder

The HTML <optgroup> element creates a grouping of options within a <select> element.

Option

The HTML <option> element is used to define an item contained in a <select>, an <optgroup>, or a <datalist> element. As such, <option> can represent menu items in popups and other lists of items in an HTML document.

OptionBuilder

The HTML <option> element is used to define an item contained in a <select>, an <optgroup>, or a <datalist> element. As such, <option> can represent menu items in popups and other lists of items in an HTML document.

Output

The HTML Output element (<output>) is a container element into which a site or app can inject the results of a calculation or the outcome of a user action.

OutputBuilder

The HTML Output element (<output>) is a container element into which a site or app can inject the results of a calculation or the outcome of a user action.

Progress

The HTML <progress> element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.

ProgressBuilder

The HTML <progress> element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.

Select

The HTML <select> element represents a control that provides a menu of options.

SelectBuilder

The HTML <select> element represents a control that provides a menu of options.

Textarea

The HTML <textarea> element represents a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text, for example a comment on a review or feedback form.

TextareaBuilder

The HTML <textarea> element represents a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text, for example a comment on a review or feedback form.

Functions

button

The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.

datalist

The HTML <datalist> element contains a set of <option> elements that represent the values available for other controls.

fieldset

The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form.

form

The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.

input

The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

label

The HTML <label> element represents a caption for an item in a user interface.

legend

The HTML <legend> element represents a caption for the content of its parent <fieldset>.

meter

The HTML <meter> element represents either a scalar value within a known range or a fractional value.

optgroup

The HTML <optgroup> element creates a grouping of options within a <select> element.

option

The HTML <option> element is used to define an item contained in a <select>, an <optgroup>, or a <datalist> element. As such, <option> can represent menu items in popups and other lists of items in an HTML document.

output

The HTML Output element (<output>) is a container element into which a site or app can inject the results of a calculation or the outcome of a user action.

progress

The HTML <progress> element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.

select

The HTML <select> element represents a control that provides a menu of options.

textarea

The HTML <textarea> element represents a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text, for example a comment on a review or feedback form.