The <img /> element adds images and graphics to Web pages.
- onkeypress (optional)
- onkeyup (optional)
- onload (optional)
- onmousedown (optional)
- onmousemove (optional)
- onmouseout (optional)
- onmouseover (optional)
- onmouseup (optional)
- onselect (optional)
- onunload (optional)
- size (deprecated)
- src REQUIRED
- style (optional)
- title (optional)
- usemap (optional)
- width (optional)
None. <img /> is a singleton tag.
None.
The <img /> tag is valid within the following tags:
a, abbr, acronym, address, applet, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, div, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, ins, kbd, label, legend, li, noframes, noscript, object, p, q, s, samp, small, span, strike, strong, sub, sup, td, th, tt, u, var
- standard image
<img src="/library/graphics/html.gif" width=50 height=50 alt="Your HTML Guide" border="0" />
- an image aligned to the left, with following text
<img src="/library/graphics/html.gif" width="50" height="50" alt="Your HTML Guide" border="0" align="left" /> And this text is to the right of the image

