Name
TYPE — NN 4 IE 4 HTML 4
Synopsis
TYPE=”MIMEType"
Optional
An advisory about the content type of the destination document or resource. In practice, this attribute so far is used to prepare the browser for the style sheet type being linked to.
Example
<LINK REL="stylesheet" TYPE="text/css" HREF="styles/mainStyle.html">
Value
Case-insensitive MIME type. A catalog of registered MIME types is available from ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/.
Default
None.
Object Model Reference
- IE
[window.]document.all.elementID.type
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.