Perform a calculation and show the result in an <output> element:
The name attribute specifies the name of an <output> element.
The name attribute is used to reference form data after it has been submitted, or to reference the element in a JavaScript.
The numbers in the table specify the first browser version that fully supports the attribute.
Attribute | |||||
---|---|---|---|---|---|
name | 10.0 | Not supported | 4.0 | 5.1 | 11.0 |
The <output> tag is new in HTML5.
Value | Description |
---|---|
name | Specifies the name of the <output> element |