HTML <output> Tag
The output tag is used to represent a calculation's outcome (like one performed by a script).
Syntax
Attributes
| Attribute | Value | Description |
|---|---|---|
| for | element-id | Describes the relationship between the calculation's outcome and the elements that were used in the computation. |
| form | form-id | The form to which the output element belongs. |
| name | name | The output element's name is specified here. |
Supported Browsers
| Element | Chrome | Firefox | Safari | Edge / IE | Opera |
|---|---|---|---|---|---|
| <output> | 10.0 | 4.0 | 5.1 | 13.0 | 11.0 |