Output type attribute
Definition and Usage
type
Property returns Output Object The represented element type.
For the output object, this property will always return "output".
See also:
HTML Reference Manual:HTML <output> Tag
Example
Find the HTML element represented by the Output object:
var x = document.getElementById("myOutput").type;
Syntax
outputObject.type
Technical Details
Return Value: | A string value representing the HTML element represented by the Output object. |
---|
Browser Support
The numbers in the table indicate the first browser version that fully supports this property.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
10.0 | Not Supported | 4.0 | 5.1 | 11.0 |