center a html code example
Example 1: centering in html
<style>
element
{
text-align: center;
}
</style>
-------------------------------------------------------------------------------
style.css
element
{
text-align: center;
}
Example 2: align center html
<!-- use the center tag -->
<center>
<!-- your code -->
</center>