Computer Science, asked by afaanghachi302, 8 months ago

Write the HTML tag to align Image at the right margin and text wraps around the left of the page.​

Answers

Answered by gramyaganesh123
0

Answer:

Use the markup code <BR CLEAR=”left” /> to flow text around images on opposite sides of your Web pages.

One of the first things you may want to do is place an image on the page. But how do you make images and words cooperate?

You can position images on the page using the ALIGN attribute, and in this case, you can use the Top, Middle, or Bottom values, as well. The value you choose also will determine how the adjoining text flows around the image if the graphic is included in a block element, such as a paragraph <P>, or in a headline, such as <H1>. The default value is Bottom if no ALIGN value is set.

Code, such as the HTML elements and text we present in the following example, will cause the text within the block to display at the top of the image:

<IMG SRC=”building.jpg” ALIGN=”top” />The first line of this text will be positioned at the top of the image. The rest will start below the image, creating a large white space. Fortunately, there is a better way to handle this that more closely resembles what you could do with a desktop publishing program.

The text flow problem in the previous paragraph isn’t as evident when you use the Right or Left value, though. Thus, the following code will position the image to the right, with the text flowing neatly on the left side:

<IMG SRC=”building.jpg” ALIGN=”right” />This text flows on the left.

Double Wraps Are Possible

You can even flow text around an image placed on the left side of the page and then make the text wrap around a different image placed on the right side. In this instance, the break element <B /> and its one attribute, Clear, come into use. Clear, as its name suggests, erases the alignment it specifies as its value. Therefore, this markup code stops the left-aligned image setting:

<IMG SRC=”building.jpg” ALIGN=”left” />This text appears to the right of the image.

<BR CLEAR=”left” />

You can create a buffer around an image by using HSPACE and VSPACE, but in this graphic, you can see that the space along the left side of the page can be problematic for your overall design.

Now the right-aligned image can be specified, and with the following code, the text will start at the top of the image and flow on the left side:

<IMG SRC=”building.jpg” ALIGN=”right” />This text appears to the left of the image.

Hey guys plzz mark me as brainliest and follow me in brainly!!!!!!!!!!!!!!!

Similar questions