The type
property of the
HTMLObjectElement
interface returns a DOMString
that
reflects the type
HTML attribute, specifying the MIME type
of the resource.
Syntax
var String = HTMLObjectElement.type
HTMLObjectElement.type = String;
Value
A DOMString
.
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'type' in that specification. |
Living Standard | Initial definition. |
Browser compatibility
BCD tables only load in the browser