Wednesday, August 27, 2014

Placing images on a page

Html image has attribute align, which can be set as "left" "right"
<img src="image/picture.gif">This is my picture.
Above code will display image at first, then at the bottom of the image, the text will be displayed.

<img src="image/picture.gif" align ="left">This is my picture.
Above code will display image at first, then the text will be displayed next to the image.

<img src="image/picture.gif" align ="right">This is my picture.
The text will be displayed at first, then the image will be displayed.


No comments:

Post a Comment