html center tag
snippet in html

html center tag

user4516

<center>
	<p>This is centered</p>
</center>

centering in html

user1463

<style>
  element
  {
    text-align: center;
  }
</style>
-------------------------------------------------------------------------------
style.css
element
{
	text-align: center;
}

align centre

user2991

.headerTwoDiv{
			margin:1% auto;
			margin-right: auto; margin-left: auto; width: 21%; 
			padding-top: 11px;
		}

align center html

user9490

<!-- use the center tag -->
<center>
  <!-- your code -->
</center>