This example centers a heading on the canvas. The align attribute for objects, images, frames, etc., floats the object to either the left or right margin. Floating objects generally begin a new line. Subsequent text flows along the image's right side. Subsequent text flows down the object's left side, then continues down the right side.
Subsequent text flows along the image's left side.
The following example shows how to float an IMG element to the current left margin of the canvas. This is the default value. The next line will begin at nearest line below any floating objects on the left-hand margin. The next line will begin at nearest line below any floating objects on the right-hand margin. The following HTML elements specify font information.