media attribute | media property
Gets or sets the destination medium for style information.
![]() ![]() |
Syntax
| HTML |
|---|
<element media="p" ... > |
| JavaScript |
|---|
p = object.media |
Property values
Type: String
The intended destination medium for style information. This value can be a single media descriptor or a comma-separated list of media descriptors. Valid media descriptors are from the list of media types specified by Cascading Style Sheets, Level 2 (CSS2).
Standards information
- Scalable Vector Graphics: Styling, Section 6.18.1
See also
Show:

