www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 codeType Property
CODETYPE Attribute | codeType Property

Sets or retrieves the Internet media type for the code associated with the object.

Syntax

HTML<OBJECT CODETYPE = sType... >
Scripting[ sType = ] OBJECT.codeType

Possible Values

sTypeString that specifies or receives the media type.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

Internet media types are also known as MIME types.

The codeType property is read-only for any pre-existing object in an HTML document. For instances of objects that are created in script, the codeType property is read/write-once, because the codeType property is written when an object is created. After an instance of an object is created, the codeType property is read-only.

Standards Information

This property is defined in HTML 4.0 World Wide Web link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Applies To

OBJECT

See Also

MIME Type Detection in Internet Explorer
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG