Find out which HTML element the Output object represents:
The result of x will be:
The type property returns which type of element the Output object represents.
For an Output object, this property will always return "output".
The numbers in the table specify the first browser version that fully supports the property.
Property | |||||
---|---|---|---|---|---|
type | 10.0 | Not supported | 4.0 | 5.1 | 11.0 |
Return Value: | A String, representing the HTML element the Output object represents |
---|