however, the desired result is not coming. Can you point | Shaalaa.com" /> however, the desired result is not coming. Can you point " /> however, the desired result is not coming. Can you point" />
मराठी

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

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 4: HTML- II: Images, Links and Tables - Assisted Practice [पृष्ठ १७६]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
पाठ 4 HTML- II: Images, Links and Tables
Assisted Practice | Q 1. | पृष्ठ १७६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×