Gets or sets the intended media type of the media source.
A string that specifies the intended media type.
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.8
The media property can be used to download different video formats for different sized screens. If the media attribute is omitted, the default value is "all", which means that the media resource is suitable for all media.