HTML and CSS Reference
In-Depth Information
dynsrc In the Microsoft implementation, this attribute indicates the URL of a movie file and
is used instead of the src attribute. Common formats used here are .avi (Audio-Visual
Interleaved), .mov (QuickTime), and .mpg and .mpeg (Motion Picture Experts Group). Be
careful, because support of this attribute beyond Internet Explorer 6 is suspect and security
settings may restrict it.
galleryimg This Microsoft attribute is used to control whether the gallery image menu should
appear when the mouse pointer hovers over an image. The default value is true or yes . A value
of no or false suppresses the menu. A meta tag like <meta http-equiv="imagetoolbar"
content="no"> can be used to suppress the image toolbar document-wide. This attribute is
rendered obsolete in later versions of Internet Explorer (7+).
ismap This attribute indicates that the image is a server-side image map. User mouse
actions over the image are sent to the server for processing.
longdesc This attribute specifies the URL of a document that contains a long description of
the image. This attribute is used as a complement to the alt attribute.
loop In the Microsoft implementation, this attribute is used with the dynsrc attribute to
cause a movie to loop. Its value is either a numeric loop count or the keyword infinite .
Later versions of Internet Explorer suggest using -1 to indicate infinite. Since it is related to
dynsrc , the use of <img> to play movies does not work past Internet Explorer 6 unless
security settings are modified.
lowsrc This nonstandard attribute, supported in most browsers, contains the URL of an
image to be initially loaded. Typically, the lowsrc image is a low-resolution or black-and-
white image that provides a quick preview of the image to follow. Once the primary image
is loaded, it replaces the lowsrc image.
name This common attribute is used to bind a name to the image. Older browsers
understand the name field, and, in conjunction with scripting languages, it is possible to
manipulate images by their defined names to create effects such as “rollover” buttons.
Under modern versions of HTML and XHTML, the id attribute should be used as an
element identifier for scripting and style application. The name attribute can still be used for
backward compatibility.
src This attribute indicates the URL of an image file to be displayed. Most browsers will
display .gif , .jpeg , and .png files directly. Older formats like .bmp , .xpm (X Bitmap), and
.xpm (X Pixelmap) are also commonly supported, though their use is never recommended.
Some modern browsers may support .svg (Scalable Vector Graphics) files as well with the
img element.
start In the Microsoft implementation, this attribute is used with the dynsrc attribute to
indicate when a movie should play. The default value, if no value is specified, is to play the
video as soon as it has finished loading. This can be explicitly set with a value of fileopen .
Alternatively, a value of mouseover can be set to play the move once the user has moved
their mouse over the video. This, like other dynsrc features, may not work past Internet
Explorer 6 browsers because of security changes.
Search WWH ::

Custom Search