November 2000
Intermediate to advanced
1152 pages
23h 32m
English
As in HTML, the <img> element is an empty element that you use to insert images into Web pages. This element is supported in XHTML 1.0 Strict, XHTML 1.0 Transitional, XHTML 1.0 Frameset, and XHTML 1.1. Here are its attributes (which apply to XHTML 1.0 Strict, XHTML 1.0 Transitional, XHTML 1.0 Frameset, and XHTML 1.1, unless otherwise noted):
| Attribute | Description |
|---|---|
| align | Sets the alignment of text relative to the image on the screen. Possible settings are left, right, top, texttop, middle, absmiddle, baseline, bottom, and absbottom. (XHTML 1.0 Transitional, XHTML 1.0 Frameset.) |
| alt | Is required. This attribute holds the text that should be displayed instead of an image for browsers that cannot handle graphics or have graphics ... |
Read now
Unlock full access