Export to GitHub

doctype-mirror - SourceElement.wiki


You are here: Home > HTML Reference > Elements > source element

Usage

The source element allows authors to specify multiple media resources for media elements (video and audio).

examples

Attributes

  • src
  • type
  • media
  • common attributes

Browser compatibility

Compatibility table legend

| Test | IE8 | IE7 | IE6 | FF3 | FF2 | Saf3 | Op9 | Chrome | |:---------|:--------|:--------|:--------|:--------|:--------|:---------|:--------|:-----------| | appears in DOM | Y | Y | Y | Y | Y | Y | Y | Y | | applies style | N | Y | Y | Y | Y | Y | Y | Y |

Further reading