XHTML 1.1 Element ( Tag ) and Attribute Reference
XHTML 1.1 Reference Index > Image Module Index
The img element ( tag )
contents
img: valid parent and child elements
- valid parent elements
- a, abbr, acronym, address, b, bdo, big, button, caption, cite, code, dd, del, dfn, div, dt, em, fieldset, h1, h2, h3, h4, h5, h6, i, ins, kbd, label, legend, li, object, p, q, samp, small, span, strong, sub, sup, td, th, tt, var
- valid child elements
- -none-
img: valid attributes
- by attribute type
- Core: class, id, title
- Internationalization: dir, xml:lang
- Image: alt,height,ismap,longdesc,src,usemap,width
- Events: onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup
- Style: style
img: browser test
The following code sample:
<img src="http://learningforlife.fsu.edu/webmaster/references/img/fsu_seal.gif" />
appears in your browser as: