16 lines
548 B
Plaintext
16 lines
548 B
Plaintext
The HTML <source> element is used to specify multiple media resources for <picture>, <audio> and <video> elements. It is an empty element. It is commonly used to serve the same media in multiple formats supported by different browsers.
|
|
|
|
Content categories:
|
|
None.
|
|
|
|
Permitted content:
|
|
None, it is an empty element.
|
|
|
|
Tag omission:
|
|
It must have start tag, but must not have an end tag.
|
|
|
|
Permitted parent elements:
|
|
A media element (<audio> or <video>, and it should be placed before any flow content or <track> element.
|
|
|
|
DOM interface:
|
|
HTMLSourceElement |