Export (0) Print
Expand All
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize
0 out of 4 rated this helpful - Rate this topic

type attribute | type property

Sets or retrieves the MIME type of the object.

HTML 4.01 Specification, Section 12.2

Syntax

HTML<element type="p" ... >
JavaScript

p = object.type

Property values

Type: String

the MIME type of the object.

Standards information

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.

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.

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

See also

a
embed
link
object
data

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.