HTML and CSS Reference
In-Depth Information
Permitted content:
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-
Start/end tags:
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
media file.
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-
dentials needed).
loop (or loop="loop" in XHTML)
Indicates that the media file should start playing again automatically once it reaches the
mediagroup=" text
text "
Links multiple media elements together by assigning them the same mediagroup value.
Search WWH ::

Custom Search