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
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.