HTML image

Create an image can be absolute or relative. Your navigator accepts a lot of format like gif,jpg,png... For transparent usage, png or gif are required. You can choose to align your image to the left, center or right part. You can force another dimension with the attributes width and height.

Usual attributes

Attribute name Attribute value
align The image will float to the left, right with the same name horizontal values. For vertical alignment you must use top, middle or bottom.
class Set a value for CSS rules. The CSS rule will be applied to all tags with the same class name
id Set a unique value, it is useful for JavaScript or for CSS rule. For CSS it will be applied only for this tag
src The image URL (mostly a jpg,gif or png).
style Set a CSS value. It has always priority for general CSS rules. Sample : "background-color:red;color:white"