HTML and CSS Reference
Transparent content, containing either a src attribute or one or more source elements,
followed by either flow content or phrasing content. video or audio elements are not per-
HTML5 Global Attributes
autoplay (or autoplay="autoplay" in XHTML)
Plays the media file automatically.
controls (or controls="controls" in XHTML)
Indicates that the user agent (browser) should display a set of playback controls for the
Indicates if the user agent must check for credentials for a media file that is coming from a
URL with a different origin than the source document. The default is anonymous (no cre-
loop (or loop="loop" in XHTML)
Indicates that the media file should start playing again automatically once it reaches the
Links multiple media elements together by assigning them the same mediagroup value.