Name
<img>
Synopsis
<img>
Description
Insert an image into the current text flow.
Attributes
-
align
=type Align the image to either the
top
,middle
,bottom
(default),left
, orright
of the text in the line. For Netscape Navigator, additionally align to thetexttop
,absmiddle
,absbottom
, orbaseline
of the text.-
alt
=text Provide descriptive text for nonimage-capable browsers, tool tips, telephone browsers, and search engines.
-
border
=n Set the pixel thickness of the border around images contained within hyperlinks.
-
controls
Add playback controls for embedded video clips.
-
dynsrc
=url Specify the URL of a video clip to be displayed.
-
height
=n Specify the height of the image in pixels.
-
hspace
=n Specify the space, in pixels, to be added to the left and right of the image.
-
ismap
Indicate that the image is mouse-selectable when used within an
<a>
tag.-
longdesc
=url Provide the URL of a document describing the image.
-
loop
=value Set the number of times to play the video; value may be an integer or the value
infinite
.-
lowsrc
=url Specify a low-resolution image to be loaded by the browser ...
Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.