Advertisements
Advertisements
प्रश्न
The following code intends to centralize the image mypic.gif in browser window:
<IMG src = "mypic.gif" align = center>
however, the desired result is not coming. Can you point out the reason for it and a solution for it?
कोड लेखन
लघु उत्तर
Advertisements
उत्तर
The image is getting loaded with the above given code but is not centralized because, center is not a valid alignment for images. To centralize an image, we may give:
<CENTER>
<IMG src = "mypic.gif">
</CENTER>shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
