Home | Top | Website design | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.


TYPE Attribute | type Property

Sets or retrieves the MIME type of the object .

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

Syntax

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

Possible Values

sType String 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

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

Applies To

Platform Version
Win32:
Win16:
Windows CE:
Unix:
Mac:
 
A , OBJECT , LINK
Home | Top | Website design | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.