Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The align attribute was commonly used to indicate how the other parts of a page should flow around an image. It has been removed from HTML5 and new websites should use CSS to control the alignment of images (as you will see on pages 411-412).
I have discussed it here because you are likely to come across it if you look at older code, and because some visual editors still insert this attribute when you indicate how an image should be aligned.
The align attribute can take these horizontal values:
This aligns the image to the left (allowing text to flow around its right-hand side).
This aligns the image to the right (allowing text to flow around its left-hand side).
This looks a lot neater than having one line of text next to the image (as shown on the previous example).