#summary The a media attribute represents the medium for which the target resource is designed.
#labels about-html,is-html-attribute,from-whatwg
You are here: [Welcome Home] > [HTMLReference HTML Reference] > [HTMLElements Elements] > [AElement element] > *media attribute*
== Usage ==
{{{
Printer-friendly version
}}}
== Values ==
The `media` attribute must be a valid [http://www.w3.org/TR/css3-mediaqueries/ media query]. If not specified, the default value is `all`.
== Elements ==
You can use the `media` attribute on the following elements:
* [AElement ]
* [AreaElement ]
* [LinkElement ]
* [SourceElement ]
* [StyleElement