 <p>Use this html tag </p> <pre><code>align="center" </code></pre> <p>center can be substituted for left or right if you want not to position them on the center</p> <p>The proper way to do it is by linking your html to a CSS file and assign each div to a certain type of class in the CSS file, this helps you avoid redundancy. To do so create a css file and link it to the html by including this in your html code </p> <pre><code>&lt;head&gt; &lt;link rel="stylesheet" type="text/css" href="mystyle.css" /&gt; &lt;/head&gt; </code></pre> <p>And then in your mystyle.css file you would have to include something like this</p> <pre><code>DIV.Left{text-align:left;} DIV.Center{text-align:center;} DIV.Right{text-align:right;} </code></pre> <p>Then your html file divs would look like</p> <pre><code>&lt;div class="left"&gt;&lt;/div&gt; &lt;div class="center"&gt;&lt;/div&gt; &lt;div class="right"&gt;&lt;/div&gt; </code></pre>