NOTICE: This website is no longer updated or supported - as such many of the techniques used to build it may seem antiquated in the modern day. It is preserved for historical reasons only.
<form action="#"></body>
<input type="button" value="Right" onclick="getElementById('para1').align='right';" /></form>
<input type="button" value="Left" onclick="getElementById('para1').align='left';" />
<input type="button" value="Center" onclick="getElementById('para1').align='center';" />