CSS played a good role to control the display of images. You can set the following attributes image using CSS.
- border property is used to set the width of the border.
- height property is used to adjust the height of an image.
- Width property used to set the image width.
<img src="http://www.blogger.com/img/logo40.png" style="border:1px double #000000; height:10%" />
<br />
<img src="http://www.blogger.com/img/logo40.png" style="border:2px double #000000; height:20%" alt="" />
This results in:
No comments:
Post a Comment