Pr.Pg Next Pg

<CENTER> </CENTER> tag tutorials

  • This is a paired tag element. It requires opening and closing tag. Text written between these two tags gets displayed in CENTER of the Screen.

NOTE: <CENTER> tag do not require <BR> at end of the line.




<center>some text</center>



Example: HTML program to demonstrate center tag

Pr.Pg border                                              Next Pg