Name
codeType — NN n/a IE 4 DOM 1
Synopsis
Read/Write
An advisory about the content type of the object referred to by the
CLASSID
attribute. A browser might use this
information to assist in preparing support for a resource requiring a
multimedia player or plugin. If the CODETYPE
property is set to an empty string, the browser looks next for the
TYPE
attribute setting (although it is normally
associated with content linked by the DATA
attribute URL). If both attributes have no (or empty) values set, the
browser gets the content type information from the resource as it
downloads.
Example
document.all.gameTime.codeType = "application/x-crossword"
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.
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.