HTML CSS Reference/HTML Attributes Reference/type style

Материал из Web эксперт
Перейти к: навигация, поиск

"type" Example

    
<HTML>
<head><Title>Example For type</Title></head>
<style id="myS" type="CSS2"></style>
<BODY>
</BODY>
</HTML>



type is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<style>                                                       |
+----------------+--------------------------------------------------------------+



type Possible Values

Possible Values
Possible values are 
text/css (the most common value), 
text/html, 
image/png, 
image/gif, 
video/mpeg, 
text/css, 
audio/basic.



"type" Syntax and Note

Note:
    
This attribute overrides the default style sheet language. 
This attribute does not have a default value.
Attribute value is required in order to specify the style content type. 
    
Syntax:
    
<style type="value"> . . . </style>