LINK.type (Property)

The MIME type of the document that the link points at.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myLINK.type

The MIME type of the document associated with the LINK is accessible through the value of this property.

Refer to the MIME type topic for details of the available MIME types you will likely see in this property.

See also:Anchor.type, MIME types, Url.type