output

FilterElements

<output> ... </output>

HTML5 only. Represents the result of a calculation, most likely the output of a script.

Start/End Tags

Required/Required

Specifications

  • HTML5

for=

Values: text
Creates an explicit relationship between the calculation result and a named element or elements on the page.

form=

Values: id of form owner
Explicitly associates the input control with its associated form (its form owner). With this method, the input control does not need to be a child of the applicable form element.

name=

Values: text
Give an identifying name to the element.
Total: <output name="total" onformchange="value = round1.value + round2.value">0</output>

Rendered Example

The output element is not supported and can not be displayed.