HTML Images

Attribute definitions

src = uri
This attribute specifies the location of the image resource. Examples of widely recognized web image formats include GIF, JPEG, and PNG.
alt = text
For user agents that cannot display images, this alternative text is displayed
align = bottom|middle|top|left|right
The following values for align concern the object's position with respect to surrounding text:
width = length
Image width override the natural image size.
height = length
Image length override the natural image size.
border = pixels
The border attribute specifies the width of this border in pixels. The default value for this attribute depends on the user agent.
The vspace and hspace attributes specify the amount of white space to be inserted to the left and right (hspace) and above and below (vspace) an image.



previous slide | next slide
Return to Beginning of Presentation
Return to Software Development Library