HTML CSS Reference/HTML Attributes Reference/type style

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

"type" Example

   <source lang="html4strict">
   

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


     </source>
   
  


type is applied to

   <source lang="html4strict">

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

     </source>
   
  


type Possible Values

   <source lang="html4strict">

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


     </source>
   
  


"type" Syntax and Note

   <source lang="html4strict">

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>


     </source>