HTML <link> type attribute
HTML <link> tag
Example
In the following example, the type attribute indicates that the linked
document is a style sheet:
<head>
<link rel="stylesheet" type="text/css" href="theme.css"
/>
</head> |
Try it yourself!
|
Definition and Usage
The type attribute specifies the MIME type of the linked document.
The most common MIME type for this attribute is "text/css", which describes a
style sheet.
Browser Support
The type attribute is supported in all major browsers.
Syntax
Attribute Values
Value |
Description |
MIME_type |
The MIME type of the linked document.
Look at IANA MIME types for a complete list of standard MIME types. |
HTML <link> tag
Whether you're new to XML or already an advanced user, the user-friendly views
and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to
meet your XML and Web services development needs from start to finish.
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- Support for Office Open XML (OOXML)
- Graphical WSDL editor & SOAP debugger
- Java, C#, C++ code generation
- And much more!
Download a fully functional free 30-day trial today!
|