There are three basic ways to align text in a Web document: to the left, in the center, or to the right. To accomplish such alignments insert the appropriate code in your document before the text you wish to align.
<div align="left"> Will align text on the left margin.
<div align="center"> Will align text in the center.
<div align="right"> Will align text on the right margin.
These tags are also to be used to align images.
Note: Remember to place the </div> tag after the appropriate text or image.