Name

TYPE — NN 4 IE 4 HTML 4

Synopsis

TYPE=”MIMEType"

Required

The TYPE attribute tells the browser which style sheet syntax to use to interpret the style rules defined in the current element.

Example

<STYLE TYPE="text/css">...</STYLE>

Value

Case-insensitive MIME type. A type accepted by both Navigator 4 and Internet Explorer 4 is "text/css". Navigator 4 also recognizes "text/javascript" when using JavaScript syntax style sheets.

Default

text/css

Object Model Reference

IE

[window.]document.all.tags(“STYLE”)[i].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.