cara mengubah posisi teks dalam html

<!-- In html you can use the text-align attributte for thext-->
<!--Here is an example-->
<html> 
  <body> 
    <style> 
    	.text {
          text-align: center;
      }
    </style>
    <div class='text'> This is an example of text position change</div>
  </body> 
</html> 
Bad Buffalo