IMG

<IMG
ALIGN=ABSBOTTOM | ABSMIDDLE | BASELINE | BOTTOM | LEFT | MIDDLE | RIGHT | TEXTTOP | TOP
ALT=string
BORDER=integer
DATAFLD=colname
DATASRC=#ID
DYNSRC=url
HEIGHT=string
HSPACE=variant
CLASS=string
ID=string
ISMAP
LANG=string
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT
LOOP=string
LOWSRC=string
NAME=string
SRC=string
STYLE=string
TITLE=string
USEMAP=string
VSPACE=string
WIDTH=string
event = script
>

Embeds an image or a video clip in the document.

ALIGN=
Specifies the alignment for the control-like element.
ALT=
Optional text as an alternative to the graphic for rendering in non-graphical environments. Alternate text should be provided whenever the graphic is not rendered. Alternate text is mandatory for Level 0 documents.
BORDER=
Specifies the thickness of a border to be drawn around the element.
DATAFLD=
The column name from the data source object that supplies the bound data.
DATASRC=
Indicates the ID of the data source object that supplies the data that is bound to this element.
DYNSRC=
Specifies the address of a video clip or VRML world to be displayed in the window. Stands for Dynamic Source.
HEIGHT=
Along with the width attribute, specifies the size at which the element is drawn. Returns the calculated height of the element in pixels. In HTML, this attribute may be initially set in pixels or percentages.
HSPACE=
Along with VSPACE=, specifies margins for the element.
CLASS=
Specifies the class of the tag being defined. This is most often used to associated a sub-classed style sheet with the tag.
ID=
An SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid names to script with are any alphanumeric string that begins with a letter. Valid special characters include underbar "_".
ISMAP
Identifies the picture as a server-side image map.
LANG=
This specifies the language to use. The specifier is an ISO standard language abbreviation.
LANGUAGE=
Specifies the language that the current script is written in. JavaScript is the default for this attribute.
LOOP=
Specifies how many times a sound or video will loop when activated. Also specifies how many times the marquee should loop.
LOWSRC=
Specifies a lower resolution image to display.
NAME=
Specifies the name of the control, bookmark, or applet.
SRC=
Specifies a URI for the associated file.
STYLE=
Specifies an in-line style sheet for the tag.
TITLE=
The Title attribute is used to provide advisory information.
USEMAP=
Identifies the picture as a client-side image map and specifies a MAP to use for acting on the user's clicks.
VSPACE=
Along with HSPACE=, specifies margins for the element.
WIDTH=
Returns the calculated width of the element in pixels. In HTML, this attribute may be initially set in pixels or percentages.
event
Can be one or more of these events:

onabort onafterupdate

onbeforeupdate onblur

onclick ondblclick

ondragstart onerror

onfocus onhelp

onkeydown onkeypress

onkeyup onload

onmousedown onmousemove

onmouseout onmouseover

onmouseup onresize

onrowenter onrowexit

onselectstart

The start tag is required, and the end tag is optional.

Example

<IMG src=mygraphic.bmp>

Ayuda de Html para Javascripts.astalaweb.com.