HTML CSS examples for HTML Tag:a
The type attribute sets the Internet media type or MIME type of the linked document.
Value | Description |
---|---|
media_type | The Internet media type of the linked document. |
The type attribute specifies the media type of the linked document:
<!DOCTYPE html> <html> <body> <p> <a href="http://java2s.com" type="text/html">site</a> </p><!-- w w w . j a v a 2s .c o m--> </body> </html>