Name
TYPE — NN 4 IE 3 HTML 4
Synopsis
TYPE=”MIMEType"Required
An advisory about the content type of the data referred to by the
DATA attribute. A browser might use this
information to assist in preparing support for a resource requiring a
multimedia player or plugin. The DATA element
first looks to the CODETYPE attribute for this
information. But if the CODETYPE attribute is
missing, the browser looks next for the TYPE
attribute setting. If both attributes are missing, the browser gets
the content type information from the resource as it downloads.
Example
<OBJECT DATA="movies/prodDemo.mpeg" TYPE="application/mpeg"> </OBJECT>
Value
Case-insensitive MIME type. A catalog of registered MIME types is available from ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/.
Default
None.
Object Model Reference
- IE
[window.]document.all.elementID.type
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access