Beginning XHTML | 4 | WebReference

Beginning XHTML | 4

To page 1current pageTo page 3To page 4To page 5
[previous] [next]

Beginning XHTML

Known Media Types and Media Type Descriptors

So far, we have used two media types: screen and print. The Cascading Style Sheets Level 2 specification identifies a handful of other media types and qualifies this list as not being considered definitive. With the explosions of Internet appliances, there are certain to be an increasing number of new media types.

Media Type Descriptor Description
all The style is suitable for all devices.
aural The style is intended for speech synthesizers. In CSS-2, there are a handful of properties related to aural style sheets.
braille The style is intended for braille tactile feedback devices.
embossed The style is intended for paginated braille printers.
handheld The style is intended for handheld devices.
print The style is intended for paginated media (like the printed page) or when representing the printed page on a screen (such as a print preview mode).
projection The style is intended for projectors and printing to film slides and transparencies.
screen The style is intended for color computer screens.
tty The style is intended for devices using a fixed-pitch character grid, such as teletypes.
tv The style is intended for television-type devices.

As shown in the table above, Cascading Style Sheets Level 2 has ten media types that represent target devices for XHTML content. The names of these media types are called 'media type descriptors'. The media type descriptors are used as values for several case-sensitive attributes described below and must be in lower case.

To page 1current pageTo page 3To page 4To page 5
[previous] [next]

and
Created: March 27, 2001
Revised: March 27, 2001

URL: http://webreference.com/authoring/languages/xhtml/beginning/chap13/1/