Media types
- Specify the target medium within the document language. For example, in HTML 4 ([HTML4]), the "media" attribute on the LINK element specifies the target media of an external style sheet:
The body...
The @import rule is defined in the chapter on the cascade.
An @media rule specifies the target (separated by commas) of a set of statements (delimited by curly braces). Invalid statements must be ignored per 4.1.7 "Rule sets, declaration blocks, and selectors" and 4.2 "Rules for handling parsing errors." The @media construct allows style sheet rules for various media in the same style sheet:
@media print { body { font-size: 10pt } } @media screen { body { font-size: 13px } } @media screen, print { body { line-height: 1.2 } }
Style rules outside of @media rules apply to all media types that the style sheet applies to. At-rules inside @media are invalid in CSS2.1.
The names chosen for CSS media types reflect target devices for which the relevant properties make sense. In the following list of CSS media types the names of media types are normative, but the descriptions are informative. Likewise, the "Media" field in the description of each property is informative.
all Suitable for all devices. braille Intended for braille tactile feedback devices. embossed Intended for paged braille printers. handheld Intended for handheld devices (typically small screen, limited bandwidth). print Intended for paged material and for documents viewed on screen in print preview mode. Please consult the section onYou might also like
Hoover AH10000 Platinum Type-Q HEPA Vacuum Bag, 2 Count Home (Hoover)
|
Bryant / Carrier Cartridge Type Media Filters (FILXXCAR0016) Home Improvement (Bryant/Carrier)
|
Rosewill RHRC-11002 Windows 7 Certified MCE IR Remote Controller/Windows 8 MCE Plus Small USB Dongle Type with Netflix CD, Black CE (Rosewill CE)
|
|
Hoover Type I HEPA Bag (2-Pack), AH10005 Home (Hoover)
|
|
Know Yourself Personality Tests Available for Kindle Phone and Tablet Mobile Application (Cure Kindle Free Apps)
|