HTML and CSS Reference
In-Depth Information
HTML5 Event Attributes
onabort, onblur, oncanplay, oncanplaythrough, onchange, onclick,
oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave,
ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended,
onerror, onfocus, onformchange, onforminput, oninput, oninvalid, onkeydown,
onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart,
onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel,
onpause, onplay, onplaying, onprogress, onratechange, onreadystatechange,
onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit,
onsuspend, ontimeupdate, onvolumechange, onwaiting
Element-Specific Attributes
name This attribute contains the parameter's name. The name of the parameter depends
on the particular object being inserted into the page, and it is assumed that the object knows
how to handle the passed data. Do not confuse the name attribute for this element with the
name attribute used for form elements. In the latter case, the name attribute does not have a
similar meaning to id , but rather specifies the name of the data to be passed to an enclosing
<object> tag.
type When the valuetype attribute is set to ref , the type attribute can be used to indicate
the type of information to be retrieved. Legal values for this attribute are in the form of
MIME types, such as text/html .
value This attribute contains the parameter's value. The actual content of this attribute
depends on the object and the particular parameter being passed in, as determined by the
name attribute.
valuetype This attribute specifies the type of the value attribute being passed in. Possible
values for this attribute include data , object , and ref . A value of data specifies that the
information passed in through the value parameter should be treated just as data. A value
of ref indicates that the information being passed in is a URL that indicates where the data
to be used is located. The information is not retrieved, but the URL is passed to the object,
which then can retrieve the information if necessary. The last value, object , indicates that
the value being passed in is the name of an object as set by its id attribute. In practice, the
data attribute is used by default.
<applet code="plot.class">
<param name="min" value="5">
<param name="max" value="30">
<param name="ticks" value=".5">
<param name="line-style" value="dotted">
<!-- XHTML style here -->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
height="100" width="100">
Search WWH ::

Custom Search