Latest

recent

HTML a type Attribute

Definition and Usage

The type attribute specifies the content type of the target URL (or content type available in the target document).

Syntax

<a type="MIME_type">

Syntax Example

<a type="text/html">

Attribute Values

Value Description
MIME_type A string that represents the content type of the target URL/website.


Browser Support

The attribute is supported in all major browsers.

Example

Source Output
<p><a type="text/html"
href="http://www.1000sourcecodes.com">
1000sourcecodes.com</a></p>

1000sourcecodes.com
HTML a type Attribute Reviewed by 1000sourcecodes on 09:19 Rating: 5
Powered by Blogger.