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

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

See Also

data


MSDN Library
Web Development
HTML and CSS
HTML and DHTML Reference
Properties
type (A, LINK, OBJECT)