Return the MIME type of the embedded content:
The result of x will be:
The height property sets or returns the value of the type attribute in an <embed> element.
The type attribute specifies the MIME type of the embedded content.
The type property is supported in all major browsers.
Return the type property:
Set the type property:
Value | Description |
---|---|
MIME_type | The MIME type of the embedded content. Look at IANA MIME types for a complete list of standard MIME types. |
Return Value: | A String, representing the MIME type of the embedded content |
---|
HTML reference: HTML <embed> type attribute