The Align attribute cannot be used to center-align the image horizontally. The middle value of align attribute center aligns the image vertically with the current line but not horizontally. It can be done by using the Center element. The following code explains its usage:
By default, an image has no border, but we can add border around the image by using the Border attribute. It accepts value in terms of pixels.
The Height and Width attribute specifies the height and width of an image respectively, either in the form of an integer or a percentage value.
Learning computers with K ips