HTML Style
- Description
- Tag <STYLE> is used for defining the element styles of the web-page. Tag <STYLE> is necessary to use in the package <HEAD>.
-
- Parametrs
- media defines the output device the style table is aimed for the work with.
- type informs the browser what syntax to use to interpret styles correctly.
- Closing Tag
- Is optional.
- The Description of Tag <STYLE> Parameters
- MEDIA Parameter
- Description
- Installs the output device the style table is aimed for. You may define your own style for each device, and this style will take the specification of the device into account and fit the image of the web page to it.
-
- Arguments
- all all devices
- screen display screen
- print printing device like a printer.
- projection projector.
- braille devices based on the Braille system.
- speech speech synthesizer and the programs for text reproduction aloud. For instance, speech browsers.
- Default value
- screen
- TYPE Parameter
- Description
- Informs the browser what syntax to use to interpret the style table correctly.
-
1
2
| <style type="text/css"> ...
--> |
- Arguments
- MIME type is used as an argument – text/css.
- Default value
- text/css