Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

TYPE Attribute | type Property


Sets or retrieves the MIME type of the object.

What's New for Microsoft® Internet Explorer 6

This property now applies to the a, link, and script objects.

Syntax

HTML<ELEMENT TYPE = sType... >
Scriptingobject.type [ = sType ]

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.

Standards Information

property is defined in HTML 3.2 Non-Microsoft link and defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

A, OBJECT, LINK

See Also

data

     Mobile Phone | Montana Music | Mortgage Calculator | Loans | Myspace Layouts
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp