HTML & CSS Wiki
Advertisement

The HTML <output></output> element was first introduced in HTML5 and Gecko 1.9.3. It represents the result of a calculation.


Attributes[]

Attribute Value Description
for id list A list of IDs of other elements, indicating that those elements contributed input values to (or otherwise affected) the calculation.
form id The <form> element that this element is associated with (its "form owner"). The value of the attribute must be an ID of a <form> element in the same document. If this attribute is not specified, the <output> element must be a descendant of a <form> element. This attribute enables you to place <output> elements anywhere within a document, not just as descendants of their <form> elements.
name name The name of the element.
Global Attributes

See Global HTML Attributes and Standard HTML5 Attributes.

External Links[]

Advertisement