Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
HTML and CSS
Properties
 type Property
TYPE Attribute | type Property

Sets or retrieves the MIME type of the object.

Syntax

HTML<ELEMENT TYPE = sType... >
Scripting[ sType = ] object.type

Possible Values

sTypeString that specifies or receives the MIME type of the object.

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

Remarks

MIME is an abbreviation for Multipurpose Internet Mail Extension, and is a set of enhancements used with Simple Mail Transfer Protocol (SMTP). Used together, MIME and SMTP allow Internet messages to include a mixture of audio, images, video, and text components, and accommodate a variety of international character sets.

When no CLASSID attribute is specified for an object, the type property is used to retrieve the class identifier for the object.

In Microsoft Internet Explorer 6, This property now applies to the a, link, and script objects.

Standards Information

This property is defined in HTML 3.2 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

A, EMBED, OBJECT, LINK, HTMLAnchorElement Constructor, HTMLLinkElement Constructor, HTMLObjectElement Constructor

See Also

data
Community Content   What is Community Content?
Add new content RSS  Annotations
not defined      yecril   |   Edit   |   Show History
This property is not defined in HTML 3.2. It is defined in HTML 4.01 http://www.w3.org/TR/1998/REC-html40-19980424/struct/objects.html#adef-type-OBJECT.
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker