HTML code for aligning a image.

Q9. Write the HTML code to insert an image in a Web page and align it to the right of the Web page.





Inserting an Image




<IMG SRC=”doll.jpg” ALIGN=”right”>



The output of the above mentioned code is shown in Figure 1:


Figure 1: Aligning an Image

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: