-
The
output
element represents the result of a calculation -
for
-
The
for
content attribute allows an explicit relationship to be made between the result of a calculation and the elements that represent the values that went into the calculation or that otherwise influenced the calculation -
The
for
attribute, if specified, must contain a string consisting of an unordered set of unique space-separated tokens that are case-sensitive, each of which must have the value of an ID of an element in the same document - A space-separated list of other elements'
id
, indicating that those elements contributed input values to (or otherwise affected) the calculation.
-
The
-
form
-
The
form
attribute is used to explicitly associate theoutput
element with its form owner -
The value of this attribute must be the
id
of aform
element in the same document -
This attribute lets you associate
output
elements to aform
element anywhere in the document, not just inside theform
element
-
The
-
name
Thename
attribute represents the element's name value
-
The element has a value mode flag which is either
value
ordefault
- Initially, the value mode flag must be set to default
-
output.value [ = value ]
Returns the element's current value.
-
The element has a value mode flag which is either