IN.gov - Skip Navigation

Note: This message is displayed if (1) your browser is not standards-compliant or (2) you have you disabled CSS. Read our Policies for more information.

State of Indiana

WebCMS Training > HTML Tutorial > Body Text > Aligning Text Aligning Text

Text can be aligned in a paragraph by adding the align attribute to the paragraph tag.

Example


<html>
<body>
<p align="left">Align left.</p>
<p align="center">Align middle.</p>
<p align="right">Align right.</p>
</body>
</html>