asp.net.ph

Skip Navigation Links

TYPE Attribute | type Property

Language References


Specifies the content type of the linked document.

Syntax


Inline <element type = sMediaType...>
Script object.type = sMediaType

Possible Values


sMediaType String specifying a valid MIME type string.

The property is read/write with no default value.

Remarks

The type attribute, if present, gives the MIME type of the linked resource.

It is purely advisory. User agents must not consider the attribute authoritative.

The value must be a valid MIME type string ( "image/jpeg", "text/html" etc. )

Upon fetching the resource, user agents must not use metadata included in the link to the resource to determine its type.

Example


Applies To

See Also

How HyperText Links Work



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note