Different styles can be applied to a page view depending on the medium it is being used through. Internal and externalized style sheets can be associated with a media type via the media attribute.
Media Type | Description |
---|---|
all | Used for all media types, default if none specified. |
aural | Speech and sound synthesizers. |
braille | Braille or tactile feedback devices. |
embossed | Paged Braille printers. |
Handheld | Small or handheld devices. |
Printers. | |
Projection | Projection presentations like slide shows. |
Screen | Computer screens. |
Tty | Fixed-pitched character grid like teletypes and terminals. |
Tv | Television devices. |
Multiple media types can be assigned to a style sheet by adding a comma-separated list of values to the media attribute.
Multiple media style definitions can be stored in one style sheet using @media rule.