HTML and CSS Reference
In-Depth Information
Example
<p> In Math the variable <var> x </var> holds the answer to many
of life's most important questions. It contains the time it takes
two speeding trains to meet when they have left two different
stations travelling at different speeds, the number of lemons you
have left over after trading with people, and all sorts of other
interesting values. </p>
Compatibility
HTML 2, 3.2, 4, 4.01, 5
XHTML 1.0, 1.1, Basic
Firefox 1+, Internet Explorer 2+,
Netscape 1+, Opera 4+, Safari 1+
Notes
• As a logical element, var is a perfect candidate for style sheet binding.
• The HTML 2.0 and 3.2 specifications support no attributes for this element.
<video> (Video)
This HTML5 element embeds a video into a document.
HTML5 Standard Syntax
<video
accesskey="spaced list of accelerator key(s)"
autobuffer="true | false"
autoplay="autoplay"
class="class name(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
controls="controls"
data-X="user-defined data"
dir="ltr | rtl"
draggable="true | false | auto"
height="pixels"
hidden="hidden"
id="unique alphanumeric identifier"
lang="language code"
loop="loop"
poster="URL of preview/standby image"
spellcheck="true | false"
src="URL of video"
style="style information"
tabindex="number"
title="advisory text"
width="pixels">
</video>
HTML5 Event Attributes
onabort, onbeforeunload, onblur, onchange, onclick, oncontextmenu,
ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover,
Search WWH ::




Custom Search