source

The source element enables multiple media sources to be specified for audio and video elements.

HTML5

Attributes

<source attribute-name="attribute-value">
Name Value Description
media media query list Media for which the destination of the hyperlink was designed - HTML5
src URI URL for the audio stream
type MIME type MIME type of the content

Global

Example | media

Example | src

Example | type

External

W3C HTML5

W3C HTML 5.1