Align DIV in Center


Align DIV in Ccenter

There could come a time when you want to align a DIV tag in the center of another div or the webpage. The code align=center can be added to the opening DIV tag to accomplish this.

<div align="center">