A category of user-agent (UA) devices on which a document can be displayed.
The main three categories that are usable in media queries are:
all - All devices.
print - Printers, and devices intended to reproduce a printed display.
screen - All devices not matched by print.
Note
The media types tty, tv, projection, handheld, braille,
embossed, speech, and aural are not usable in media queries; user
agents must make them match nothing.
A category of user-agent (UA) devices on which a document can be displayed. The main three categories that are usable in media queries are:
all
- All devices.print
- Printers, and devices intended to reproduce a printed display.screen
- All devices not matched byprint
.Note
The media types
tty
,tv
,projection
,handheld
,braille
,embossed
,speech
, andaural
are not usable in media queries; user agents must make them match nothing.See
all
print
screen