HTML Center Tag


HTML Code for Center Tag

    The CENTER tag centers text horizontally. Everything between the <center></center> tags are put in the horizontal middle of the screen. It can be text, graphics or just about anything you can see on the webpage. A favorite among the HTML text codes.

Syntax

<CENTER>
  text-to-center
</CENTER>