Definition and Usage The type attribute specifies the content type of the target URL (or content type available in the target document). S...
Definition and Usage
The type attribute specifies the content type of the target URL (or content type available in the target document).
Syntax
Syntax Example
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 |