Contents
This section is normative.
The Media Attribute Module defines the media
attribute.
access
element is intended.
When the value of this attribute matches the current processing media,
the associated access
element is
considered active and processed normally; otherwise it is
inactive and ignored.
The default value for this attribute is all
.
Example
<style src="style.css" type="text/css" media="screen" /> <span src="photo.jpg" media="screen">Me at work</span> <span src="photo-hires.jpg" media="print">Me at work</span>
Implementations: RELAX NG, XML Schema