Media type (CSS)

From Wiki @ Karl Jones dot com
Revision as of 08:47, 26 August 2016 by Karl Jones (Talk | contribs) (Created page with "In Cheascading Style Sheets (CSS), '''media type''' is a value stating a particular type of medium for which the CSS is intended. == Description == Media type can be dec...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In Cheascading Style Sheets (CSS), media type is a value stating a particular type of medium for which the CSS is intended.

Description

Media type can be declared in the head of an HTML document using the "media" attribute inside of a link element.

The value of the "media" attribute specifies on what device the linked document will be displayed.[8] Media types can also be declared within XML processing instructions, the @import at-rule, and the @media at-rule. CSS2 defines the following as media types:

  • all
  • braille
  • embossed
  • handheld
  • print
  • projection
  • screen
  • speech
  • tty
  • TV

See also