HTML and CSS Reference
In-Depth Information
The Media Elements in More Detail
After that refreshingly simple jaunt through containers and codecs, we'll return to looking at
the media elements in more detail.
Media Elements and Global Attributes
The audio and video elements both support the same set of global attributes:
accesskey
A unique, ordered, and space separated (as well as case sensitive) set of tokens that enables
specifically named keyboard key access to the media element.
class
A set of space separated tokens specifying the various classes the element belongs to.
contenteditable
If true, content can be edited; if false, content cannot be edited.
contextmenu
The id of the context menu associated with the element.
dir
The directionality of the element's text.
draggable
Whether the media element can be dragged. If true, the element can be dragged; if false,
the element cannot be dragged.
dropzone
What happens when an item is dropped on the element.
hidden
A boolean attribute that determines if the element is “relevant”. Elements that are hidden
are not rendered.
iid
A unique identifier for the element.
Search WWH ::




Custom Search